PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Implementation
  • Creating an on/off button
  • Programming
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
On/Off button in a window
Overview
The on/off button is a button that operates like a check box.
If the normal state of the button is as follows:
When the user clicks the button a first time, the button remained pressed down:
The second time the user clicks the button, the button goes back to its normal status.
Versions 17 and later
Android The On/Off buttons are available for the Android applications.
New in version 17
Android The On/Off buttons are available for the Android applications.
Android The On/Off buttons are available for the Android applications.
Versions 18 and later
Universal Windows 10 App The On/Off buttons are available in Windows Store apps mode.
New in version 18
Universal Windows 10 App The On/Off buttons are available in Windows Store apps mode.
Universal Windows 10 App The On/Off buttons are available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App The On/off buttons are available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App The On/off buttons are available in Universal Windows 10 App mode.
Universal Windows 10 App The On/off buttons are available in Universal Windows 10 App mode.
Implementation

Creating an on/off button

To create an on/off button:
  1. Create a button.
  2. Display the "GUI" tab in the description window of the button and select "On/Off button".
  3. Validate the description window.

Programming

The method for programming an on/off button is the same as the method for programming the other types of buttons (see Handling a button by programming). The only difference is: the status of the on/off button is managed by ..Pushed.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment