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

Last reviewed: June 27, 1995
Article ID: Q95705
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.