Navigation:  Classes >

bFontCondition

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Defines a font condition consisting of a condition and a font.

Class

bFontCondition

Properties

Font(Access / Assign)

Methods

Eval()

Init()

Inherits From

<No ancestor>

Inherited By

<No descendants>

Description

Individual rows, columns or also values in cells can be displayed with font conditions in different fonts.

 

The font conditions are supported both in the class bBrowser and in the class bDataColumn.

Samples

The following sample defines a font condition with the font Arial (bold) for all records in those the field FEMININE contains the value TRUE:

 

LOCAL odbsCUSTOMER   AS DBServer

LOCAL oFont          AS Font

LOCAL oFontCondition AS bFontCondition

 

// define font for condition

oFont := Font{, 12, "Arial"}

oFont:Bold := TRUE

 

// open database for condition

odbsCUSTOMER := DBServer{"CUSTOMER"}

IF odbsCUSTOMER:Used

 // define font condition

 oFontCondition := bFontCondition{"Server:FEMININE",;

                                                                  odbsCUSTOMER,;

                                                                  oFont}

ENDIF

See Also

bBrowser:FontCondition

bDataColumn:FontCondition

bFontConditionList

 


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