Navigation:  Classes > bBrowser >

bBrowser:GetFontSpec()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determines from the defined font conditions the font of the current record.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:GetFontSpec(

<iColumn>,

<nRowNo>,

<nRecNo>,

<oFont>

) Æ oFont

Arguments

<iColumn>The column number of the cell, which is passed as argument to the conditions.
Data Type:Integer

 

<nRowNo>The row number of the cell, which is passed as argument to the conditions.
Data Type:Integer | Float | Real8

 

<nRecNo>The record number of the cell, which is passed as argument to the conditions.
Data Type:Integer | Float | Real8

 

<oFont>The default font that is to be used, if no font condition were found.
Data Type:Font

Return Value

oFontThe determined font. If no font could be determined, the value NULL_OBJECT is returned.
Data Type:Font

Description

bBrowser:GetFontSpec() evaluates all defined font conditions for the current record. The first font condition to return the value TRUE is the font returned by this method.

 

If no font condition was found for the record, the default font is returned instead.

See Also

bBrowser:DataView

bBrowser:FontCondition

bDataColumn:GetFontSpec()

 


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