"setEnabled"
Enables or disables an item.
Synopsis
shape.setEnabled(string id, bool enabled);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
id | The ID of the element |
enabled |
TRUE = The element will be enabled. FALSE = The element will be disabled. |
Description
Enables or disables an item.
Example
The following example disables the item "PART1".
main()
{
TREE1.setEnabled("PART1", FALSE);
}
Assignment
Tree widget