PRB:DEFINE WINDOW GROW Clause Doesn't Place Controls on Window

ID: Q95705

The information in this article applies to:

Page L3-432 of the "Language Reference" manual describes the different types of border clauses associated with the DEFINE WINDOW command. The documentation incorrectly states that "including the CLOSE, FLOAT, GROW, ZOOM, or MINIMIZE clauses places the appropriate controls on the window even if the SYSTEM window type definition is not included."

If the GROW clause is included on the DEFINE WINDOW statement without any other clauses, the Control menu is not placed on the window.

To work around this problem, add SYSTEM to the window type definition, along with using the GROW clause.

If the SYSTEM and GROW clauses are used independently on the DEFINE WINDOW command, then the Control menu is displayed. However, if the SYSTEM, GROW and FONT clauses are used on the DEFINE WINDOW command, then the Control menu is not displayed.

Also, the SYSTEM clause is not always needed in order for the Control menu to be displayed. The Control menu is displayed if the CLOSE, FLOAT, ZOOM, or MINIMIZE clauses are used.

Additional reference words: FoxWin 2.50 2.50a size docerr KBCategory: kbprg kbprb kbdocerr KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995