Purpose
Adjust the height of the title area.
Class
Type
Method
Syntax
<oBrowser>:AdjustTitleHeight([<lRecalculate>]) Æ lAdjust
Arguments
<lRecalculate> | A logical value that defines whether the browser should be recalculated if the height of the title area 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 title area was adjusted. |
TRUE | The height was adjusted. |
FALSE | The height was not adjusted. |
Data type: | Logic |
Description
bBrowser:AdjustTitleHeight() recalculates the height of title area.
The method is called automatically by bBrowser if the access bBrowser:AutoTitleHeight contains the value TRUE and the method bBrowser:Recalculate() is invoked.
Afterwards, the adjusted height can be determined with the access bBrowser:TitleHeight.
So that the new height of title area is shown correctly in the bBrowser, it must be redrawn with the method bBrowser:Redraw().
Samples
In the following sample the method bBrowser:AdjustTitleHeight() is invoked. Provided that the height was adjusted, the bBrowser is redrawn.
// adjust height of title area
IF oBrowser:AdjustTitleHeight()
// redraw browser
oBrowser:Redraw()
ENDIF
See Also
bBrowser:AdjustCaptionHeight()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_adjusttitleheight.htm