Microsoft KB Archive/104864: Difference between revisions

From BetaArchive Wiki
m (Text replacement - """ to """)
m (Text replacement - "<" to "<")
Line 11: Line 11:
== SYMPTOMS ==
== SYMPTOMS ==


In FoxPro versions 2.5, 2.5a, and 2.5b for Windows, the MODIFY MEMO &lt;fields&gt; WINDOW &lt;window name&gt; command will cause the window that is displayed to have none of the attributes in the DEFINE WINDOW command. For example:
In FoxPro versions 2.5, 2.5a, and 2.5b for Windows, the MODIFY MEMO <fields&gt; WINDOW <window name&gt; command will cause the window that is displayed to have none of the attributes in the DEFINE WINDOW command. For example:


<pre>  DEFINE WINDOW test FROM 10,20 TO 20,50 TITLE "MYTITLE" SYSTEM ;
<pre>  DEFINE WINDOW test FROM 10,20 TO 20,50 TITLE "MYTITLE" SYSTEM ;
   FLOAT ZOOM MINIMIZE CLOSE
   FLOAT ZOOM MINIMIZE CLOSE


   MODIFY MEMO &lt;memo field&gt; WINDOW test
   MODIFY MEMO <memo field&gt; WINDOW test
</pre>
</pre>
The window will appear without the following attributes: TITLE, FLOAT, CLOSE, MINIMIZE, and ZOOM.
The window will appear without the following attributes: TITLE, FLOAT, CLOSE, MINIMIZE, and ZOOM.
Line 26: Line 26:
   FLOAT ZOOM MINIMIZE CLOSE GROW
   FLOAT ZOOM MINIMIZE CLOSE GROW


   MODIFY MEMO &lt;memo field&gt; WINDOW test
   MODIFY MEMO <memo field&gt; WINDOW test
</pre>
</pre>
The TITLE, FLOAT, ZOOM, MINIMIZE, and CLOSE attributes should be visible. If the SYSTEM and GROW clauses are excluded, the window will have a half- height title bar and no scroll bars. However, if the SYSTEM attribute is added without GROW, all the attributes that were placed in the DEFINE WINDOW clause will not be visible.
The TITLE, FLOAT, ZOOM, MINIMIZE, and CLOSE attributes should be visible. If the SYSTEM and GROW clauses are excluded, the window will have a half- height title bar and no scroll bars. However, if the SYSTEM attribute is added without GROW, all the attributes that were placed in the DEFINE WINDOW clause will not be visible.

Revision as of 14:43, 20 July 2020

PRB: MODIFY MEMO WINDOW Doesn't Have Window Attributes

ID: Q104864

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, and 2.5b

SYMPTOMS

In FoxPro versions 2.5, 2.5a, and 2.5b for Windows, the MODIFY MEMO <fields> WINDOW <window name> command will cause the window that is displayed to have none of the attributes in the DEFINE WINDOW command. For example:

   DEFINE WINDOW test FROM 10,20 TO 20,50 TITLE "MYTITLE" SYSTEM ;
   FLOAT ZOOM MINIMIZE CLOSE

   MODIFY MEMO <memo field> WINDOW test

The window will appear without the following attributes: TITLE, FLOAT, CLOSE, MINIMIZE, and ZOOM.

RESOLUTION

To avoid this behavior, add the GROW clause. For example, the following code executes as expected:

   DEFINE WINDOW test FROM 10,20 TO 20,50 TITLE "MYTITLE" SYSTEM ;
   FLOAT ZOOM MINIMIZE CLOSE GROW

   MODIFY MEMO <memo field> WINDOW test

The TITLE, FLOAT, ZOOM, MINIMIZE, and CLOSE attributes should be visible. If the SYSTEM and GROW clauses are excluded, the window will have a half- height title bar and no scroll bars. However, if the SYSTEM attribute is added without GROW, all the attributes that were placed in the DEFINE WINDOW clause will not be visible. Additional reference words: FoxWin 2.50 2.50a 2.50b KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral


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