PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Button and tabulation
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
The different types of buttons in a window
Overview
WINDEV and WINDEV Mobile propose 5 types of buttons. Each one is used to perform a specific type of operation.
TypeDescription
NormalStandard button.
Sequence of processes: During a mouse click on a "Normal" button (or when using the associated shortcut):
  • the exit process of the current control is run.
  • the click code of the button is run.
Use mode: The "Normal" buttons must not be used in the windows containing controls. This type of button can be used in the toolbars, in the icon bars or in the windows without edit controls.
Validation"Default" button of the window.
Sequence of processes: During a mouse click on a "Validation" button (or when using the associated shortcut):
  • the exit process of the current control is run.
  • the click code of the button is run.
The code of this button is run when pressing the [Enter] key if:
  • no other window control intercepts the ENTER key
  • no other window control has focus.
If two validation buttons are found in the same window, the code run is the code of the first "validation" button found according to the tab order of the window.
Use mode: A VALIDATION button must be used to validate the input in a window. A VALIDATION button must be found in the window as soon as an input can be performed in an edit control. This is the type used for the "OK" buttons.
AndroidAndroid Widget Universal Windows 10 App This type of button is not available.
InterruptionButton used to interrupt the current process.
Sequence of processes: During a mouse click on an "Interruption" button (or when using the associated shortcut):
  • the click code of the button is run.
  • the button does not keep focus. The focus is given back to the control that was used beforehand.
Note: The exit code of current control is not run during the click on the button.
Use mode: An "Interruption" button will be used to call a window (to interrupt the current input without validating) and to resume the input. This is the type used for the "Help" buttons.
Android Widget Universal Windows 10 App This type of button is not available.
CancelationThe button performs the same action as the [ESC] key.
Process sequence: The current control's exit code is only executed when clicking the button. The code for this button is executed:
  • when pressing the [ESC] key if no other window control intercepts the ESC key.
  • when pressing the ALT F4 keys
  • when closing the window via the cross.
If two cancelation buttons are found in the same window, the code run is the code of the first cancelation button found according to the tab order of the window.
Use mode: A "Cancelation" button will be used to "exit" from the window currently in edit without validating. In an edit window, a "Cancelation" button is required to cancel the current input without validating. This is the type used for the "Cancel" buttons.
Android Widget Universal Windows 10 App This type of button is not available.
HelpThe button performs the same action as the [F1] key. The click process is run (unlike the operating mode in WINDEV 5.5). This button is used to display the help window associated with the current control. A Help button does not keep focus. The focus is given back to the control that was used beforehand. Neither the exit code of this control nor the entry code in the control are run during the click on the "Help" button.
AndroidAndroid Widget Universal Windows 10 App This type of button is not available.
Summary table:
If your window contains no edit control
Type of button to useNormal buttons.
If your window contains at least one edit control
Type of button to use
  • A Validation button
  • A Cancelation button
  • A Help button (if the controls have associated help windows)
  • All the other buttons are Interruption buttons.
Button and tabulation
According to the Windows standard, the tabulation key ([TAB]) allows you to move from a control (in edit) to another one.
You also have the ability to move from a control (in edit) to another one with the [Enter] key: to do so, no active button found in the window must be a Validation button and no control must be associated with the [Enter] key.
Universal Windows 10 App The management via the Tab key is not available.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment