Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MODIFY WINDOW with different screen resolutions...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00329889
Message ID:
00329970
Views:
21
Hi Tim,

Modify Window is a legacy command. Try using the _screen object directly:

_Screen.Top = 0
_Screen.Left = 0
_Screen.Height = 450
_Screen.Width = 640
_Screen.FontName = "Arial"
_Screen.FontSize = 10
_Screen.MaxButton = .F.
_Screen.Caption = "QuestPDM Printserver"
_Screen.Icon = "questpdm.ico"
_Screen.Sizable = .F.

>FROM 0,0 to 25.8,59.9;
>FONT "Arial", 10 ;
>NOZOOM;
>TITLE "QuestPDM Printserver";
>ICON FILE questpdm.ico;
>NOGROW


>Hi!
>
>I am using a command like:
>
>MODIFY WINDOW SCREEN ;
>FROM 0,0 to 25.8,59.9;
>FONT "Arial", 10 ;
>NOZOOM;
>TITLE "QuestPDM Printserver";
>ICON FILE questpdm.ico;
>NOGROW
>
>To get my window to be the same size as the form so it looks like the app
>is just 1 screen stand alone..
>
>On my Screen at 1024x768 it looks great.
>something like this: excuse the crude drawing..
>
>_QuestPDM Printserver____________X_
>| |
>| |
>|________________________________ |
>
>But on a 800x600 screen it looks like:
>
>_QuestPDM Printserver____________X_
>| |
>| |
>|________________________________ |
>|________________________________ |
>
>The screen is not the correct size:
>
>Is there some way to use this command
>based on the screen resolution of the user..
>
>Thanx
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Reply
Map
View

Click here to load this message in the networking platform