SelectedText - property of the PmgWCombo object
Description:
Selected visible text.
Syntax:
String SelectedText
Note:
Property access
for read and write. The preset value of this property is defined in the "
Selected value" configurator of this object.
This property is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oCombo = pMe.Items("/WCombo");
var sText = oCombo.SelectedText; //reading
oCombo.SelectedText = "Text1"; //writing
Dim oCombo, sText
Set oCombo = pMe.Items("/WCombo")
sText = oCombo.SelectedText 'reading
oCombo.SelectedText = "Text1" 'writing