Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Button control
  • Overview
  • Implementation
  • Definition of an automatic execution button
  • Programming
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
To force an action on a window, all you have to do is define a button of this window in "Automatic execution" mode. The principle is very simple, if no button has been used for a given period of time, the process of the "Automatic execution" button will be automatically executed.
At runtime, the duration is automatically decremented. When it reaches zero, the code of the button is automatically run. This mechanism is automatically stopped in the following cases:
  • when the user clicks a button.
  • if the user modifies a control.
  • if the user presses any keyboard key.
Remark: The user has the ability to add a timer onto the button. This is one of the Automatic Application Features (AAF). For more details, see Timer on button.

Definition of an automatic execution button

An automatic execution button can be defined:
  • in the window description ("Details" tab):
    Window description
  • in the Button control description ("Details" tab):
    Control description
A message indicates whether several automatic execution buttons have been defined in the window.
You also have the ability to define an automatic validation button with DelayBeforeClosing.
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help