UIoptionList
Synopsis
UIcmdList UIoptionList {
int &max;
int numSelectedItems => array_size(selectedItems);
int+Port selectedItems[];
UIoption+IPort2 &cmdList[] {
set+nonotify;
};
};Description
UIoptionList is a UIcmdList that contains only UIoptions (no UIcmds, etc.). With it, you can determine which options in the list are set and can restrict the number of options that can be set.
It differs from UIradioList in that more than one option can be selected at one time.
Subobjects
tearOff <Not visible in Network Editor>
(Integer.) Sets the maximum number of options that can be set at one time. If undefined, all options can be set. Once the max options are set, all other options are deactivated until fewer than max options are set.
numSelectedItems => array_size(selectedItems)
(Integer. Port). A variable length array that contains the integer indices of the UIoptions in the list that are set. The array is as long as the number of selected UIoptions.
Example
File
See Also Related Modules