Navigation:  Classes > bEditConditionList >

bEditConditionList:GetEditSpec()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determines the first edit condition with the result TRUE and returns the defined edit ability.

Class

bEditConditionList

Type

Method

Syntax

<oEditConditionList>:GetEditSpec(

<iColumn>,

<nRowNo>,

<nRecNo>

) Æ uEditable

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

Return Value

uEditableThe value NIL, if no condition returns the result TRUE. Otherwise a logical value that defines the edit ability.
Data Type:Usual

Description

bEditConditionList:GetEditSpec() evaluates in sequence the edit condition in the list and returns the value of the first condition whose result is TRUE.

 

If the list does not contain edit conditions or no condition returns the value TRUE as result the value NIL is returned.

 


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