PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview of Button control
  • Control in a window or in a page (static or dynamic page)
  • Buttons in a window
  • Button control in a window
  • Buttons in a page
  • Creating a button control
  • Examples
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
Overview of Button control

Control in a window or in a page (static or dynamic page)

The Button control allows the user or the Web user to run a specific action via a mouse click.
Versions 15 and later
WINDEV MobileAndroid This type of control is now available for the Android applications.
New in version 15
WINDEV MobileAndroid This type of control is now available for the Android applications.
WINDEV MobileAndroid This type of control is now available for the Android applications.
Versions 16 and later
WINDEV MobileUniversal Windows 10 App This type of control is now available for the Windows Phone applications.
New in version 16
WINDEV MobileUniversal Windows 10 App This type of control is now available for the Windows Phone applications.
WINDEV MobileUniversal Windows 10 App This type of control is now available for the Windows Phone applications.
Versions 17 and later
WINDEV MobileiPhone/iPad This type of control is now available for the iPhone/iPad applications.
New in version 17
WINDEV MobileiPhone/iPad This type of control is now available for the iPhone/iPad applications.
WINDEV MobileiPhone/iPad This type of control is now available for the iPhone/iPad applications.
Versions 18 and later
WINDEV MobileAndroid Widget This type of control is now available for the Android Widget windows.
WINDEV MobileUniversal Windows 10 App This type of control is now available for the applications in Windows Store Apps mode.
New in version 18
WINDEV MobileAndroid Widget This type of control is now available for the Android Widget windows.
WINDEV MobileUniversal Windows 10 App This type of control is now available for the applications in Windows Store Apps mode.
WINDEV MobileAndroid Widget This type of control is now available for the Android Widget windows.
WINDEV MobileUniversal Windows 10 App This type of control is now available for the applications in Windows Store Apps mode.
Versions 21 and later
WINDEV MobileUniversal Windows 10 App This type of control is now available in Universal Windows 10 App mode.
New in version 21
WINDEV MobileUniversal Windows 10 App This type of control is now available in Universal Windows 10 App mode.
WINDEV MobileUniversal Windows 10 App This type of control is now available in Universal Windows 10 App mode.
Buttons in a window
WINDEV MobileAndroidAndroid Widget iPhone/iPadWindows MobileUniversal Windows 10 App

Button control in a window

The Button control allows the user to run a specific action via a mouse click.
A button can include:
  • text,
  • image,
  • text and image.
WINDEV and WINDEV Mobile include several possibilities for customizing the buttons, their styles or their effect.
You can:
Buttons in a page
Creating a button control
To create a Button control:
  1. In the window or page editor, click (or select "Insert .. Control .. Button").On the "Creation" pane, in the "Usual controls" group, click .
  2. Click the position where the control must be created in the window or in the page. The control appears in creation mode.
Tip: You also have the ability to create a "preset" button control by clicking the arrow found on the right of the icon. The list of available buttons (with their preview in the skin template of the project) is displayed. All you have to do is click the requested button to create it in the editor.Tip: You also have the ability to create a "preset" Button control by expanding "Button". The list of available buttons (with their preview in the skin template of the project) is displayed. All you have to do is click the requested button to create it in the editor.
To display the characteristics of the control, select "Description" from the popup menu of control.
Examples
Several examples of Button controls are available. These button controls are accessible from the "Wizards, Examples and Components" pane:
  1. Click the "Controls" button.
  2. Select "Buttons" in the list.
  3. The list of buttons is displayed.
Several examples of Button controls are available. These button controls are accessible from the "Preset controls" pane:
  1. Click the "Controls" button.
  2. Select "Button" in the list.
  3. The list of buttons is displayed.
All you have to do is Drag and Drop the button to the current window or page in order to include it in this window or page.
Related Examples:
The Button control Unit examples (WINDEV): The Button control
[ + ] Using a Button control
Displaying a popup menu Unit examples (WEBDEV): Displaying a popup menu
[ + ] This example presents the display of a "popup menu" when a click is performed on a button.
Minimum required version
  • Version 9
This page is also available for…
Comments
Video Trocar Tab por Enter
https://youtu.be/4FRXaA6-AY4

https://windevdesenvolvimento.blogspot.com/2019/03/dicas-2045-windev-comandos-47-button.html
amarildo
Mar. 15 2019
Video Button
https://youtu.be/mobOu04Oo58

https://windevdesenvolvimento.blogspot.com/2019/03/dicas-2040-windev-dicas-88-button.html


// BTN ENSINANDO CONFIGURAR BUTTON

BTN_ENSINANDO_CONFIGURAR_BUTTON..Caption="NOVO TEXTO"
BTN_ENSINANDO_CONFIGURAR_BUTTON..BrushColor=DarkGreen
BTN_ENSINANDO_CONFIGURAR_BUTTON..Color=DarkYellow
BTN_ENSINANDO_CONFIGURAR_BUTTON..FontBold=True

amarildo
Mar. 11 2019