How to show column footer

Requirement: bBrowser 1.4

 

No footer is shown in the bBrowser with the presettings. To show a footer in the bBrowser, the height of the footer must be defined with the access bBrowser:FooterHeight. The value of a column footer can be set with the access bDataColumn:Footer. Afterwards, the bBrowser must be recalculated with the method bBrowser:Recalculate() and redrawn with the method bBrowser:Redraw().

The following code fragment shows the footer in the bBrowser and defines a footer value for the column #Quantity:

LOCAL oColumn   AS bDataColumn

 

oBrowser:FooterHeight := 18

 

oColumn := oBrowser:GetColumn(#Quantity)

IF !Empty(oColumn)

  oColumn:Footer := 60

ENDIF

 

oBrowser:Recalculate()

oBrowser:Redraw()