Purpose
Saves a value to a property.
Class
Type
Method
Syntax
<oDataColumn>:PropertyPut(
<symProperty>,
<uValue>
) Æ lSuccess
Arguments
<symProperty> | The name of the property to 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 |
#RTFInterfaceClass |
As default the value #bRTFDocument is used.
Data type: Symbol |
Data type: | Usual |
Return Value
lSuccess | A logical value that indicates whether the value was put to the property. |
TRUE | The value was put. |
FALSE | The 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
Page url: http://www.YOURSERVER.com/index.html?bdatacolumn_propertyput.htm