WINDEV Concepts
Part 1: Main concepts 47 7 Automatic button execution To force an action on a window, simply set a Button control of this window to "Automatic execution" mode. The principle is very simple, if no button has been used for a given period of time, the click code of the Button control associated with the "Automatic execution" will be automatically executed. At runtime, the duration is automatically decremented. When it reaches zero, the code of the Button control is automatically run. 7.1 Implementation To run the code of a Button control automatically: 1. Define which Button control must be run automatically. 2. In the window description ("Details" tab of the description window), specify: • the time before the automatic execution of the Button control. • the name of the Button control to be run. 3. At runtime, the remaining time is automatically displayed. 7.2 Programming You can also define an automatic validation Button control using DelayBeforeClosing . 7.3 AAF: Automatic Application Feature This feature is also directly accessible to the end users. They can request a Button control to be automatically run after a specific duration.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==