|
|
|
|
|
- Checking the function
- Difference of message type
EmulateOKCancel (Function) Emulates the next call to OKCancel and automatically clicks the button passed as parameter. // Automatically close the next OKCancel dialog box // The answer on which the click will be performed is OK EmulateOKCancel(True)
// Process // ...
SWITCH OKCancel("Do you want to save the modifications?") CASE True // Save the modifications CASE False // Cancel the modifications END // The message is automatically closed via a click on OK
Sintaxis
EmulateOKCancel(<Button>)
<Button>: Integer constant Indicates the button of the OKCancel window on which the click must be performed: | | False | Click on [CANCEL] | True | Click on [OK] |
Observaciones Difference of message type The order of functions EmulateXXX must respect the display order of functions Error, Info, ... Otherwise, a fatal error will be triggered. Componente: wd300testexe.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|