4. System Classes : OptionField Class
 
Share this page                  
OptionField Class
The OptionField class provides a list of text strings from which the user can make one selection. The field displays one choice, and when the user clicks the field, OpenROAD displays the rest of the choices in a pop-up window.
The values in the list are stored in the ValueList attribute (see ValueList Attribute), inherited from ChoiceField.
The default value that appears in the field is one of the choices in the choice list. If you update the list at runtime (using the UpdChoiceList method (see UpdChoiceList Method)), there is no longer a current value. You must reset the field's value after you use the UpdChoiceList method.
Inherits From
Object Class (see Object Class)
FieldObject Class (see FieldObject Class)
FormField Class (see FormField Class)
ActiveField Class (see ActiveField Class)
ScalarField Class (see ScalarField Class)
ChoiceField Class (see ChoiceField Class)
EnumField Class (see EnumField Class)
Inherited By
None
Attributes
InnerShadowWidth
Style
TextLabel
VisibleRows
Methods
None