PRB: Windows Are in Different Positions When Executable Is RunLast reviewed: April 29, 1996Article ID: Q100441 |
The information in this article applies to:
SYMPTOMSWindows appear in different positions when an executable file is run under the run-time version of FoxPro than when the executable file is run under the development version of FoxPro.
CAUSEThe executable file uses FoxFont for the desktop font if no font is specified. The desktop font affects a window's size and position. In the FoxPro development environment, the executable file and the application use the desktop font that is currently in effect. This font is determined by the font setting in the FOXPRO.INI file; therefore, FoxFont may not be the font in use in the development environment. To achieve the correct result, the following four conditions must all be true: a. You must have determined your window positions in the Screen Layout dialog box in the Screen Builder.b. The default font that you have specified in the Screen Layout dialog box must match your current screen font.c. The point sizes on both the development machine and the machine running the executable file must be the same.d. Both machines must be using the same resolution (for example, 640 x 480 or 1024 x 768). RESOLUTIONThere are two ways to resolve this problem:
|
Additional reference words: VFoxWin FoxMac FoxWin 2.50 2.50a 2.50b 2.50c
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |