LOAD WINDOW Command
Loads a Window which has been defined in a seperate Window Definition file
Description:
This command is issued in a program file (.prg) and instructs the program to load a window defined in an HMG Window definition file (.fmg). This is a text file containing a Window definition in standard HMG code, using standard HMG syntax, with the exception of the Window name. Instead of a Window name, the file (.fmg) contains a DEFINE WINDOW TEMPLATE command instead. Refer to the Syntax section below for details on how to manage this
Syntax:
LOAD WINDOW <FileName> [ AS <WindowName> ]
Valid For Use With:
This command can be used in any source code file that needs to load a Window defined in a seperate Window Definition file (.fmg)
Notes:
When the AS <WindowName> clause is omitted, the Window Definition file (.fmg) name (excluding the extension) is assumed as the Window name
This command is most frequently used to load a Window that has been designed using the HMG IDE
The original version of the help file for this item can be viewed here