Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen resolution
Message
 
À
05/09/2015 18:02:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01624301
Message ID:
01624309
Vues:
66
Attached the two screen settings - first image is screen shot at 1920 resolution and second image at 1280.

this is actually not the first time I have had this problem. I resized the three windows programmatically both the physical size and the font so that it fits a 'normal' screen size - one large window - two smaller ones at the bottom thus:
(example of the smaller screen)
DEFINE WINDOW bm4a ;
	FROM 24,1 TO 46,75;
	FONT 'courier new',8;
	COLOR RGB(77,0,0,255,255,241);
	STYLE 'b'
I had to resize that for one of the operators to fit his peculiar screen dimensions and resolution - detecting his computer then adjusting accordingly.

i did not want to take that route again since i am going to end up with a 3rd if clause in defining these windows. I prefer to be able to simply set up a smaller resolution globally for my particular laptop but i am suspecting at this point that it is not a simple task.

I appreciate the example you sent Al but that just cuts off the screen without changing font or relative window sizes (resolution) so i am left with the same problem.



>Can you give us a screen shot of what's happening?
>
>Generally it's not a good idea to run an LCD panel at anything other than its native (maximum) resolution. While running at the higher resolution you can size 3 VFP instances to anything smaller than that you want: either manually, or programmatically:
>
>_Screen.Width = 1280
>_Screen.Height = 800
>
One way to deal with multiple windows is to cascade them e.g. http://www.coolnerds.com/XP/ControlScreen/Control07.gif
>
>>using the 1920 setting I am able to view and use the entire screen.
>>
>>using the 1280 cuts off about 1 inch on each side of the screen - but with vfp I am opening and viewing 3 windows at once in some cases and the smaller resolution allows me to view all three without cutting anything off.
>>
>>with the 1920 setting I am losing large chunks of the bottom two windows in vfp - however it opens up the entire screen for viewing other programs - apps - pictures etc.
>>
>>
>>>Why would you want to do that?
>>>
>>>>Just bought new mini laptop 13.3 with optimal screen resolution 1920x1080. However I need to change that setting to 1280x800 to view all data in VFP window.
>>>>
>>>>Is there an initial setting I can change in VFP settings or set up programmatically so that when I start VFP it will change the screen resolution to 1280x800 either for VFP alone or for the whole laptop configuration.
>>>>
>>>>tnx k
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform