ACTIVATE WINDOW Command
Activates a Window after definition and places it in memory
Description:
Once a Window and all controls that it includes has been defined as detailed in the DEFINE WINDOW pages below, it has to be loaded and placed in memory for the program to access and use it. This is achieved by calling the DEFINE WINDOW command
Syntax:
ACTIVATE WINDOW <cFormName1> [, <cFormName2> ] [, ... ]
ACTIVATE WINDOW ALL
Valid For Use With:
This command can be used for all definable Window types
Notes:
This command is only available after the Window has been defined
Where ACTIVATE WINDOW <cFormName1> is called to activate a single Window, it will be loaded into memory and shown / hidden according to the VISIBLE <lValue> property in its' definition
Where ACTIVATE WINDOW ALL is called, all Window's it will be loaded into memory simultaneously. The MAIN Window will be shown / hidden according to its VISIBLE <lValue> property value and all other Window's will be hidden. AUTORELEASE .F. will be applied to all non-main Windows
Where multiple Windows are being opened simultaneously, the maximum number of visible MODAL type Windows cannot exceed one (1). All other MODAL Windows must have VISIBLE .F. applied to them
When the AUTORELEASE .F. property is applied to any Window, it is hidden rather than released from memory when it is closed. If the RELEASE method is used to close it, then it is released from memory
The SHOW and HIDE methods can also be used to display or hide Windows when required
The ACTIVATE method can also be used to activate a Window after definition
The original version of the help file for this item can be viewed here