SelectedText - property of the PmgWCombo object
Description:
Selected visible text.
Syntax:
String SelectedText
Note:
Property access
for read and write.
The default 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 from the property
oCombo.SelectedText = "Text1";
// Writing into the property
Dim oCombo
Set oCombo = pMe.Items("/WCombo")
Dim sText
sText = oCombo.SelectedText
' Reading from the property
oCombo.SelectedText = "Text1"
' Writing into the property