SelectedIndex - property of the PmgWCombo object
Index of the selected text.
Property access for read and write
. The preset value of this property is defined in the "Selected value
" configurator of this object.
If no item is selected then the returned value is -1.
This property is also functional in Web panels
var oCombo = pMe.Items("/WCombo");
var nIndex = oCombo.SelectedIndex; //reading
oCombo.SelectedIndex = 2; //writing