Select Event
The Select event is triggered after the user selects a field that has a select bias or when the program sets the IsSelected attribute for the form field to TRUE.
This event has the following syntax:
on select [fieldname]
fieldname is optional if you specify the event block in a field script.
The following attributes of the FrameExec class can be used in the Select event block:
TriggerField
Specifies the field set to select bias that was selected by the user
OriginatorField
Specifies the field specified in the initial on select statement
SelectedList
Specifies the new set of selected items
Use the CurFrame system variable to access these attributes. For more information, see
FrameExec Class.
Note: If the user selects a group of fields, OpenROAD triggers a Select event for each field selected.
Usage: The Select event is defined for all form fields. This event cannot be specified for menu fields.
The Select event indicates that the user has selected a field. You can use this event for an individual field if selecting only that particular field must trigger some individual code.
Because this event works only with a single field, you may prefer to place the fields in a composite field and specify a ChildSelect event for the composite field. If you are only interested in the SelectedList, and not in what triggered the event, use
SelectionChanged Event.
More information:
Last modified date: 12/20/2023