StateEx - property of the PmgButton object
Description:
Returns state of the button.
Values:
0 - Disabled button
1 - Normal button
2 - Pushed button
Note:
Property access for
read only.
It is used, for example, 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 oButton = pMe.Items("/Butt0");
var nStateEx = oButton.StateEx;
Dim oButton
Set oButton = pMe.Items("/Butt0")
Dim nStateEx
nStateEx = oButton.StateEx