Skip to main content
Version: Next

Activated

Activated : Boolean

ParameterTypeDescription
Function resultBoolean←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​

Deactivated
Form event code

Properties​

Command number346
Thread safeno