Activated
Activated : Boolean
Parameter | Type | Description | |
---|---|---|---|
Function result | Boolean | ← | Returns TRUE if the execution cycle is an activation |
Description
The Activated command (obsolete) returns True in a form method when the window containing the form becomes the frontmost window of the frontmost process.
Note: This command is equivalent to using Form event code and testing whether it returns the On Activate event.
WARNING: Do not place a command such as TRACE or ALERTin the Activated phase of the form, as this will cause an endless loop.
Note: In order for the Activated execution cycle to be generated, make sure that the On Activate event property of the form has been selected in the Design environment.
See also
Properties
Command number | 346 |
Thread safe | ✗ |