Purpose
Sets a font for the representation of the column values.
Class
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
lSuccess | A logical value that indicates whether the font was set. |
TRUE | The font was set. |
FALSE | The 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
Page url: http://www.YOURSERVER.com/index.html?bbrowser_font.htm