Navigation:  Classes > bBrowser >

bBrowser:AdjustTitleHeight()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Adjust the height of the title area.

Class

bBrowser

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

lSuccessA logical value that indicates whether the height of the title area was adjusted.
TRUEThe height was adjusted.
FALSEThe height was not adjusted.
Data type:Logic

Description

bBrowser:AdjustTitleHeight() recalculates the height of title area.

 

Title

 

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()

bBrowser:AdjustColumnBands()

bBrowser:AdjustFooterHeight()

bBrowser:AutoCaptionHeight

bBrowser:Redraw()

bBrowser:TitleHeight

 


Page url: http://www.YOURSERVER.com/index.html?bbrowser_adjusttitleheight.htm