behavior
A behavior object.
behavior properties
| Property |
Type |
Access |
Description |
| class |
integer |
read |
The class descriptor type. |
| enable behavior |
boolean |
r/w |
If true, the behavior is enabled. |
| event |
behavior events enumeration |
r/w |
The event which triggers the behavior.
| enumerations |
| mouse up, mouse down, mouse enter, mouse exit, on focus, on blur |
|
| id |
integer |
read |
A unique number identifying the object. |
| index |
integer |
read |
Index of the object within its parent object. |
| label |
string |
r/w |
A label that can be set to any string. |
| name |
string |
read |
The name of the object. |
| object reference |
object |
read |
An object reference for this object. |
| parent |
object |
read |
The parent of the object. |
| properties |
record |
r/w |
Property that allows setting of several properties at the same time. |
behavior methods
| Method |
Returns |
Description |
| delete |
Nothing |
Delete the object. |
| extract label |
string |
Gets the content of the label associated with the specified key (name).
|
Parameter |
Type |
Description |
| key |
string |
The
key. |
|
| insert label |
Nothing |
Sets the content of the label associated with the specified key (name), creating the
label if it does not already exist.
|
Parameter |
Type |
Description |
| key |
string |
Key. |
| value |
string |
Value. |
|