Purpose
Determines font that is used when drawing a specific column.
Class
Type
Method
Syntax
<oBrowser>:GetColumnFont(
<symStyle>,
<oColumn>
) Æ oFont
Arguments
| <symStyle> | A value that indicates whether the font is to be determined for the column caption, the column values or for the column footer. The following values are supported: |
Value |
Description |
#Caption |
The font is determined for the column caption. |
#Data |
The font is determined for the column values. |
#Footer |
The font is determined for the column footer. |
| Data type: | Symbol |
| <oColumn> | The column to which the font is to be determined. |
| Data type: | bDataColumn |
Return Value
| oFont | The determined font. |
| Data type: | Font |
Description
If the font is determined for the column caption,
| 1. | it is examined whether in the column a bBrowserColumn:CaptionView object is defined and whether in this a font (see also bViewStyle:Font) is set unequal to NULL_OBJECT. Ü If it is, this font is returned. |
| 2. | it is examined whether in the browser a bBrowser:CaptionView object is defined. Ü If it is, the font (see also bViewStyle:Font) from this object is returned. |
| 3. | Ü the value NULL_OBJECT is returned. |
If the font is determined for the column values,
| 1. | it is examined whether in the column a bBrowserColumn:DataView object is defined and whether in this a font (see also bViewStyle:Font) is set unequal to NULL_OBJECT. Ü If it is, this font is returned. |
| 2. | it is examined whether in the browser a bBrowser:DataView object is defined. Ü If it is, the font (see also bViewStyle:Font) from this object is returned. |
| 3. | Ü the value NULL_OBJECT is returned. |
If the font is determined for the column footer,
| 1. | it is examined whether in the column a bBrowserColumn:FooterView object is defined and whether in this a font (see also bViewStyle:Font) is set unequal to NULL_OBJECT. Ü If it is, this font is returned. |
| 2. | it is examined whether in the browser a bBrowser:FooterView object is defined. Ü If it is, the font (see also bViewStyle:Font) from this object is returned. |
| 3. | Ü the value NULL_OBJECT is returned. |
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getcolumnfont.htm