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.
|This command does not require any parameters|
|Function result||Boolean||Returns TRUE if the execution cycle is an activation|
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 (for compatibility with V3 databases), 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.
Deactivated, Form event.