Toggle

<< Click to Display Table of Contents >>

Navigation:  Editing a SpecView Project > Glossary of Key Terms used in SpecView >

Toggle

Previous pageReturn to chapter overviewNext page

 

Toggle is a general term for a button or menu command which allows a setting to be turned off and turned on. When a menu command is used as a toggle, choosing the menu command will swap the option from off to on, or vice versa. A tick indicator will show whether the setting is on or off.

An example of a toggle menu command in SpecView is the 'Show Logging in Variables List' menu command accessed from the Database sub-menu on the Setup menu.

An example of a toggle button command in SpecView is the 'GDW Control: Toggle Full Screen mode'

 

To setup a toggle button on a GDW, such that successive clicks will toggle a boolean variable On/Off/On/....

Set the button action to do a Math Function and subtract the Boolean from itself and store the answer in itself, for example:

Copy From: Bool1

Subtract: Bool1

Copy To: Bool1