Promotic

StateEx - property of the PmgButtonState object

Description:
Returns one of five button states.
Syntax:
Long StateEx
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 - Data binding to calculation based on a table of values" data binding.
This property is also functional in Web panels.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oBtnState = pMe.Items("/BtnState");
var nStateEx = oBtnState.StateEx;
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.