Graphical Panel Controls: On/Off Button
Last updated
Last updated
Copyright © 2024 | All Rights Reserved
An On Off button allows you to change the value of a digital (binary) signal or application signal within a graphical panel. You can also use this control to take Vehicle Spy online or offline.
Table 1 lists the special properties associated with On Off Button controls. A list of common properties can be found in Common Control Properties.
Table 1: On Off Button Control Properties
OnText
The text shown when the button is pushed or held down (On state).
OffText
The text shown by default before the button is pressed (Off state).
OnOffType
Specifies the behavior of the control:
0-Push Button: Button state and signal value will change as long as the button is held down; releasing the button will return the button and signal to the Off state.
1-Toggle Button: The button state and signal value toggle when the button is pressed.
2-Online/Offline Button: The button emulates the behavior of the blue Vehicle Spy start/stop buttons (/). VSpy will be online when the button is down, and offline when it is up.