Selector.New()
Selector.New()
Type: CLASS FUNCTION
Purpose: Create a new Selector object.
Usage: Selector = SELECTOR.New(Tag, List, Value, Prompt)
Tag | STRING | Used in Setup for Save/Restore, Printing. Tag is a name associated with the object, itself, and not with the variable. |
|
List | VECTOR |
Vector of strings, one for each possible selection. The strings should be short to be displayed in a limited space. The length of List governs the number of positions in the selector. |
|
Value | INDEX | Which item is selected. Value is zero- based, i.e., when the first item is selected, the Value is 0. |
|
Prompt | STRING | Used in Setup() for data-entry. | |
Selector | SELECTOR | Newly-created SELECTOR object. |
Comments are closed.