|
|
|
|
|
- Checking the function
- Difference of message type
EmulateOKCancel (Function) In french: PiloteOKAnnuler Emulates the next call to OKCancel and automatically clicks the button passed as parameter.
EmulateOKCancel(True)
SWITCH OKCancel("Do you want to save the modifications?")
CASE True
CASE False
END
Syntax
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] |
Remarks 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. Component: wd300testexe.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|