Tutorial Chapter 3: Displaying Data (Windows/Forms) |
A program creates a window with the OPEN WINDOW instruction, and destroys a window with the CLOSE WINDOW instruction.
OPEN WINDOW custwin WITH FORM "custform"
When you are using a graphical front end, windows are created as independent resizable windows. By default windows are displayed as normal application windows, but you can specify a Presentation Style. The standard window styles are defined in the default Presentation Style file (FGLDIR/lib/default.4st):
CLOSE WINDOW custwin
CLOSE WINDOW SCREEN