This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
Activated

Activated 


 

Activated -> Function result 
Parameter Type   Description
Function result  Boolean in Returns TRUE if the execution cycle is an activation

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 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.



See also 

Deactivated
Form event code

 
PROPERTIES 

Product: 4D
Theme: Form Events
Number: 346

 
PAGE CONTENTS 
 
HISTORY 

Created: < 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)