AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Botón
  • Overview
  • Implementation
  • Creating an on/off button
  • Programming
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
On/Off button in a window
Overview
The on/off button is a button that operates like a check box.
If the normal status of the button is as follows:
The first time the user clicks the button, the button remained pressed:
The second time the user clicks the button, the button goes back to its normal status.
Implementation

Creating an on/off button

To create an on/off button:
  1. Create a button.
  2. Go to the "UI" tab of the button description window and select "Botón On/Off".
  3. Validate the description window.

Programming

Programming an on/off button is identical to programming other types of buttons (see Manipulating a button by programming). The only difference is that push-button status is managed by the Pushed property.
Ver también
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 24/09/2024

Señalar un error o enviar una sugerencia | Ayuda local