Text - property of the PmgButtonState object
Description:
Text in the button for the state 0.
Note:
Property access
for read and write. The preset value of this property is defined in the "
Text" configurator of this object.
This property is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oBtnState = pMe.Items("/BtnState");
var sText = oBtnState.Text; //Reading the value
oBtnState.Text = "Button UP"; //Writing the value
Dim oBtnState, sText
Set oBtnState = pMe.Items("/BtnState")
sText = oBtnState.Text 'Reading the value
oBtnState.Text = "Button UP" 'Writing the value