"enableItemId"

Enables or disables a cascade option.

Synopsis

setValue(string shape, "enableItemId", string item, bool on);

getValue(string shape, "enableItemId", string item, bool &on);

shape.enableItemId(string item, bool on);

Parameters

Parameter Description
shape Name of the object
item The item
on Enabled or disabled (TRUE/FALSE)

Description

This attribute enables (on==TRUE) or disables (on==FALSE) the specified item. Can be get and set.

Example

The example enables the item with the Id 1.

main()
{
  CASCADE_BUTTON1.enableItemId("1", TRUE);
}

Assignment

Cascade