Text1 - property of the PmgButtonState object
Description:
Text in the button for the state 1.
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 sText1 = oBtnState.Text1; //Reading the value
oBtnState.Text1 = "Button Down"; //Writing the value
Dim oBtnState, sText1
Set oBtnState = pMe.Items("/BtnState")
sText1 = oBtnState.Text1 'Reading the value
oBtnState.Text1 = "Button Down" 'Writing the value