Style

The Style property defines whether the button is a normal button (only appears to be pressed when it is selected, and then returns to its raised position) or is a latched button (appears pressed in when selected and does not return to its raised position automatically). Typically, you would set the Style on the Button Properties window and would not animate it. However, you can animate the Style property if required.

You can animate the Style so that it is a specific type or so that it changes according to the value or state of an item in the database. There are only two types of style, so the numbers you need for the expressions are:

Number for Expression Style

0

Normal button

1

Latched button

For example:

IIF( ".1 Bit Digital.AlarmState" = 4, 1, 0 )

This expression means that if the point named '1 Bit Digital' has an alarm state of 4 (that is,has an unacknowledged uncleared alarm), the style is latched (Style 1). If the point has any other alarm state, the style is normal (the Style is 0 - Normal).


Disclaimer

Geo SCADA Expert 2020