Switch Button

Use Switch Button when you want to present the digital value "0" and "1" visually. "0" is for "off-state", and "1" is for "on-state".

In the Switch Button Properties, you customize the position and size of the component. You can do the following operations in particular:

Add a Switch Button component

  1. Select the Switch Button component .

  2. Drag the Switch Button component directly where you want it to be in the Editor pane.

  3. Set the variable.

  4. Set the On Image or Off image for the switch button component.

    • Click "..." at the right end of the row On Image or Off Image in the push button properties pane.

    • Select an image from the Graph Library and click OK.

  5. Set the On Text and Off Text for Switch Button component.

    • Click "..." at the right end of the row Off Text or On Text in the switch button properties pane.

    • Change the text as you want.

    • Save the change by clicking OK or quit the change by clicking Cancel.

      The text value will change to the default value when you select Reset to Default.

Properties for Switch Button