SelectedValue - property of the PmgWCombo object
Description:
Hidden value associated with selected visible text.
Syntax:
String SelectedValue
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 val = oCombo.SelectedValue;
// Reading from the property
oCombo.SelectedValue = "value1";
// Writing into the property
Dim oCombo
Set oCombo = pMe.Items("/WCombo")
Dim val
val = oCombo.SelectedValue
' Reading from the property
oCombo.SelectedValue = "value1"
' Writing into the property