Navigation:  Classes > bDataColumn >

bDataColumn:PropertyPut()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Saves a value to a property.

Class

bDataColumn

Type

Method

Syntax

<oDataColumn>:PropertyPut(

<symProperty>,

<uValue>

) Æ lSuccess

Arguments

<symProperty>The name of the property for which the value is to be put. The following properties are supported as default:

 

Property

Description

#EditClass

Defines the name of the VO class that the bBrowser uses for creating an edit control.

#EmptyValueCondition

A condition with that determines whether a column value is an empty value.

 

The property is used in the method bDataColumn:IsValueEmpty().

#RTFInterfaceClass

Defines the name of the VO-Class, that is used for drawing RTF text.

 

In addition to these properties any other property can also be defined.

Data Type:Symbol

 

<uValue>The value that is to be put to the property:

 

Property

Value

#EditClass

Class name of the edit control

 

Data Type: Symbol

#EmptyValueCondition

A codeblock that returns a logical value as result.

 

The argument <Value> can be used in the codeblock. This argument defines the value which shall be checked.

 

Example:

{|Value| Value="" .or. Value="0"}

 

Data Type: _Codeblock | Codeblock | bCodeblock

#RTFInterfaceClass

As default the value #bRTFDocument is used.

 

Data Type: Symbol

 

Data Type:Usual

Return Value

lSuccessA logical value that indicates whether the value was put to the property.
TRUEThe value was put.
FALSEThe value could not be put.
Data Type:Logic

Description

bDataColumn:PropertyPut() examined whether a value already exists to the property. In this case the existing value is overwritten with the new value otherwise the property and the value is appended.

See Also

bBrowser:PropertyPut()

bDataColumn:PropertyDelete()

bDataColumn:PropertyExist()

bDataColumn:PropertyGet()

 


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