"itemEnabled"

The attribute "itemEnabled" enables or disables an item in a non-editable combo box.

Synopsis

setValue(string shape, "itemEnabled", int index, bool enabled);

getValue(string shape, "itemEnabled", int index, bool &enabled);

shape.itemEnabled(int index, bool enabled);

Parameter

Parameter Description
shape Object name
index Index starts from 0.
enabled

TRUE = enabled

FALSE = disabled

Description

The attribute "itemEnabled" enables or disables an item in a non-editable combo box.

To use this function, the "editable" property of the combo box has to be set to "FALSE". If it is set to "TRUE", all disabled items will be enabled again.

Assignment

combo box