Navigation:  Classes > bGridCondition >

bGridCondition:Init()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Creates an object of the class bGridCondition.

Class

bGridCondition

Type

Method

Syntax

bGridCondition{

<cCondition> | <oCondition> | <cbCondition>,

[<oServer>],

[<oGrid>]

} Æ oGridCondition

Arguments

<cConditon>The condition as string. This is converted automatically into object of the class _Codeblock. The conversion is made thereby with the following instruction:

 

&("{|Server, Column, Row, RecNo| " + cCondition + "}")

 

Data Type:String

 

<oConditon>The condition as an object of the class _CodeBlock.
Data Type:CodeBlock

 

<cbCondition>The condition as Codeblock
Data Type:Codeblock

 

<oServer>The server that is to be specified as argument during the evaluation of the Codeblock. Thereby conditions can be defined in which accesses to the server are contained (see samples).
Data Type:Object

 

<oGrid>The grid that is to be used, if the condition is true.
Data Type:bGrid

Return Value

oGridConditionThe created object of the class bGridCondition.
Data Type:bGridCondition

Description

bGridCondition:Init() creates a new object of the class bGridCondition and initializes it.

See Also

bGridCondition:Eval()

bGridCondition:Grid

 


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