PML Customisation User Guide

Gadget Set : Option and Combobox Gadgets : Setting and Getting the Current Selection
You can read the current selection using the selection() method. This will return the replacement-text (or the display-text if replacement-texts were not defined):
The .val member reads the index number of the currently selected value:
The clear() method will discard both display- and replacement-text lists:

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo