State - property of object PmiButtonTwo
State of the two-state button (0 or 1).
n = oButton.State
Property access for read and write
. The preset value of this property is defined in the "Button state
" configurator of this object. If it is written to this property and if this property is linked to the data binding PP
, then the value is transferred also into the source of this binding.
The button state can be read directly in onButtonUp event from pEvent.State property.
This property is also functional for Web panels
. (For the MSIE
8 and older browser versions, the property is not functional directly in the script and must be assigned/read by using the SetProp