Purpose
Determines the default font for the bBrowser.
Class
Type
Method
Syntax
<oBrowser>:GetDefaultFont() Æ oFont
Return Value
oFont | The determined font. If no font could be determined, the value NULL_OBJECT is returned. |
Data type: | Font |
Description
bBrowser:GetDefaultFont() determines the font which is used as the default font in the bBrowser. The default font is used if no other font is defined in the bBrowser.
Important note!
With every call to this method, a new object of the class font is created.
Samples
In the following sample the font for the column captions is defined.
// create browser
oBrowser := bBrowser{oOwner,;
1000,;
Point{0, 0},;
Dimension{300, 250}}
// define font for the column captions
oFont := oBrowser:GetDefaultFont()
oFont:Bold := TRUE
oBrowser:CaptionView:Font := oFont
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getdefaultfont.htm