StateEx - property of the PmgButtonState object
Description:
Returns one of five button states.
Values:
0 - Disabled button
1 - Normal button in the state 0
2 - Pushed button in the state 0
3 - Normal button in the state 1
4 - Pushed button in the state 1
Note:
Property access for
read only.
It is used for the direct change of the color or the image file of the button by the "
T - Elementary table" data binding.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oBtnState = pMe.Items("/BtnState");
var nStateEx = oBtnState.StateEx;
Dim oBtnState
Set oBtnState = pMe.Items("/BtnState")
Dim nStateEx
nStateEx = oBtnState.StateEx