Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help! Screen sizes differ from app to exe
Message
From
26/08/1999 14:39:40
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
25/08/1999 13:14:09
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00257533
Message ID:
00258088
Views:
18
George,

Screen size is dependent on the font used. If the font is not available on the target machine, Fox substitutes a font, and the results are unpredictable.

You can start your app with something like this in the main program to give a standardized screen size. (I chose MS Sans Serif figuring it would be on every Windows 9x machine.)

MODIFY WINDOW SCREEN AT 00,00 SIZE 24,89 ;
TITLE "MyTitle" FONT "MS Sans Serif", 10 ;
CLOSE FLOAT GROW MINIMIZE ZOOM


>I am rewriting a 2.6 windows application that has been working well for ~2 years. The first phase re-write is ready to go to QC so I built an executable for use by the test team. In both the development and .app environments the screens display properly but when the .exe is run some of the screens display a smaller width (should be 405 p looks like ~300) causing objects on the screen to be on top of each other. This is a problem.
>
>Config.fpw sets these variables
>_GENSCRN = 'C:\fpw26\GENSCRNX.PRG'
>_SCXDRV5 = 'C:\fpw26\TABS.PRG'
>_SCXDRV5 = 'C:\ppw26\INBROWSE.PRG'
>_SCXDRV5 = 'C:\fpw26\3D.PRG'
>_GENMENU = 'C:\fpw26\GENMENUX.PRG'
>
>All of the screens use 3d.prg.
>One of the screens that use neither tabs nor inbrowse display the problem while another does not. Neither of these screens save the environment.
>None of the screens that use tabs.prg exhibit the behavior.
>All of the screens that use only inbrowse exhibit the behavior.
>Screens that use both tabs and inbrowse do not exhibit the behavior.
>
>If foxpro 2.6 is running and I then run the executable the problem disappears.
>If the exe is run on a win3.1 machine the problem disappears
>
>I have tried:
>building the exe on a windows 3.11 machine
>setting the display to a standard svga driver
>running the exe on four different machines
>
>I need to resolve this problem asap so any suggestions, help will be greatly appreciated!
>TIA
>GAB
Previous
Reply
Map
View

Click here to load this message in the networking platform