"itemEnabled"
    
    The attribute "itemEnabled"; enables or disables an item in an radio box or a check box.
Synopsis
setValue(string shape, "itemEnabled", int idx, bool enabled);
getValue(string shape, "itemEnabled", int idx, bool
                &enabled);
shape.itemEnabled(int idx, bool enabled);
Parameter
| Parameter | Description | 
|---|---|
| shape | Object name | 
| idx | Index starts from 0. | 
| enabled | 
                                 TRUE = enabled FALSE = disabled  | 
                        
Description
The attribute "itemEnabled"; enables or disables an item in an radio box or a check box.
Example
In the following example, the third item of an radio box will be disabled.
main()
{
  this.itemEnabled(2, 0); /* deactivates the third item. the index starts from 0 */
}
        Assignment
Radio box, check box