Navigation:  Classes > bBrowser >

bBrowser:Font()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Sets a font for the representation of the column values.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:Font(

<oFont>,

[<lRedraw>]

) Æ lSuccess

Arguments

<oFont>The font that is to be set for the representation of the column values.
Data type:Font

 

<lRedraw>A logical value that indicates whether the column values are again to be drawn. As a default, TRUE is used.
Data type:Logic

Return Value

lSuccessA logical value that indicates whether the font was set.
TRUEThe font was set.
FALSEThe font could not be set.
Data type:Logic

Description

bBrowser:Font() sets the font in the bBrowser:DataView object. If this object does not exist yet, it is created automatically.

 

So that the column values are displayed with the new font, the argument <lRedraw> must be specified with the value TRUE.

 

Important note!
The method adapts the height of the data rows automatically to the new font. This has the consequence that existing row height settings are overwritten. If column captions are visible (bBrowser:CaptionHeight>0) and do not have their own font, the height of column captions is likewise adapted to the new font and and prior settings are overwritten.

See Also

bBrowser:CaptionView

bBrowser:DataView

 


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