Promotic
WikipediaLinkedInYoutubeTwitterFacebook

StateEx - property of the PmgButton object

Description:
Returns state of the button.
Syntax:
Long StateEx
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 - Data binding to calculation based on a table of values" 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;
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice