Deactivated
Deactivated -> Function result
Parameter | Type | Description | |
---|---|---|---|
Function result | Boolean | ← | Returns TRUE if the execution cycle is a deactivation |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The Deactivated command returns True in a form or object method when the frontmost window of the frontmost process, containing the form, moves to the back.
In order for the Deactivated execution cycle to be generated, make sure that the On Deactivate event property of the form and/or the objects has been selected in Design environment.
Note: This command is equivalent to using Form event code and testing whether it returns the On Deactivate event.