Graphical Panel Controls: On/Off Button
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.
| Property | Function and Options |
|---|---|
| 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:
|
| JavaProject | Sets the name of a Java project to access, when the button is tied to a Java project. |
| StartJava |
Specifies when to run a Java project:
|