Navigation:  Classes >

bGridCondition

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Defines a grid condition consisting of a condition and a grid.

Class

bGridCondition

Properties

Grid(Access / Assign)

Methods

Eval()

Init()

Inherits From

<No ancestor>

Inherited By

<No descendants>

Description

Individual rows, columns or also cells can be displayed with grid conditions in different grids.

 

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

Samples

The following sample defines a grid condition for all records in those the field FEMININE contains the value TRUE:

 

LOCAL odbsCUSTOMER   AS DBServer

LOCAL oGrid          AS bGrid

LOCAL oGridCondition AS bGridCondition

 

// define grid for condition

oGrid := bGrid{BGRID_CONVEX}

 

// open database for condition

odbsCUSTOMER := DBServer{"CUSTOMER"}

IF odbsCUSTOMER:Used

 // define grid condition

 oGridCondition := bGridCondition{"Server:FEMININE",;

                                                            odbsCUSTOMER,;

                                                            oGrid}

ENDIF

See Also

bBrowser:GridCondition

bDataColumn:GridCondition

bGridConditionList

 


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