Purpose
Adjust the height of the column footer.
Class
Type
Method
Syntax
<oBrowser>:AdjustFooterHeight([<lRecalculate>]) Æ lAdjust
Arguments
<lRecalculate> | A logical value that defines whether the browser is to be recalculated if the height of the column footer was adjusted. If this argument is not specified, the default value TRUE is used. |
Data type: | Logic |
Return Value
lSuccess | A logical value that indicates whether the height of the column footer was adjusted. |
TRUE | The height was adjusted. |
FALSE | The height was not adjusted. |
Data type: | Logic |
Description
bBrowser:AdjustFooterHeight() recalculates the height of the column footer of all opened columns.
The method is called automatically by bBrowser if the access bBrowser:AutoFooterHeight contains the value TRUE and
• | a new column is opened or |
• | an opened column is closed. |
Afterwards, the adjusted height can be determined with the access bBrowser:FooterHeight.
So that the new footer height is shown correctly in the bBrowser, this must be redrawn with the method bBrowser:Redraw().
Samples
In the following sample the method bBrowser:AdjustFooterHeight() is invoked. Provided that the height was adjusted, the bBrowser is redrawn.
// adjust height of column caption
IF oBrowser:AdjustFooterHeight()
// redraw browser
oBrowser:Redraw()
ENDIF
See Also
bBrowser:AdjustCaptionHeight()
bBrowserColumn:CalculateHeightOfFooter()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_adjustfooterheight.htm