Activated

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 3

Compatibility Note

This command has been kept for compatibility reasons. Starting with version 6, you should consider using the command Form event and checking if it returns an On Activate event.


Activated Boolean

ParameterTypeDescription
This command does not require any parameters
Function resultBooleanReturns TRUE if the execution cycle is an activation

Description

The Activated command returns TRUE in a form method when the window containing the form becomes the frontmost window of the frontmost process.

WARNING: Do not place a command such as TRACE or ALERT in 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. This is done automatically when a database is converted.


See Also

Deactivated, Form event.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next