Language Reference Guide : 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, 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), there is no longer a current value. You must reset the field's value after you use the UpdChoiceList method.
Inherits From
Object Class
FieldObject Class
FormField Class
ActiveField Class
ScalarField Class
ChoiceField Class
EnumField Class
Inherited By
None
Attributes
InnerShadowWidth
Style
TextLabel
VisibleRows
Methods
None