PRB: Unable to Resize Main FoxPro Screen in Foundation READID: Q105836 2.5x 2.6x WINDOWS kbprg kbprb The information in this article applies to:
SYMPTOMSDuring a foundation READ, the main FoxPro screen cannot be resized. NOTE: Under Visual FoxPro for Windows, the main FoxPro screen can be resized.
CAUSEThis behavior is by design. When a Foundation READ is used and no other window is defined and active, the main FoxPro screen becomes the active READ window for the foundation read and cannot be changed.
RESOLUTIONYou can make the main FoxPro screen resizeable by defining and activating another window just prior to the foundation READ. This window can be defined with no border and the same color scheme as the FoxPro desktop so that it is not visible. To create a menu and a program that will allow the main FoxPro screen to be resized despite the fact that a foundation READ is in effect, do the following: 1. Create a new menu with one menu option: Quit. 2. Change RESULT to PROCEDURE for this menu option. 3. Type the following code in the procedure for the Quit menu 4. Save the menu as MYMENU.MNX and generate the .MPR code.
5. Create a new program with the following code:
6. Run the above program and note that the main FoxPro screen can now be
Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a re-size
desktop
KBCategory: kbprg kbprb
KBSubcategory: FxprgGeneral
|
|
Last Reviewed: April 30, 1996 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |