Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sysmetric() different in VFP 6
Message
From
09/02/2000 12:04:21
Karl Scheff
California Department of Education
Sacramento, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Sysmetric() different in VFP 6
Miscellaneous
Thread ID:
00329485
Message ID:
00329485
Views:
95
It appears to me that SYSMETRIC(1) and SYSMETRIC(2) do not work exactly the same way in VFP 6.0 as they do in VFP 5.0. When I change the screen resolution WITHOUT LEAVING VFP, VFP 5.0 correctly changes the return value of sysmetric(1) while VFP 6.0 returns the screen resolution that was active when I first opened VFP 6.0. In other words SYSMETRIC(1) is not correctly updated in VFP 6.0 if you change the screen resolution without first leaving VFP.

I like to change the resolution to check out if my resizable forms are working correctly, but now in VFP 6.0, I actually have to leave VFP 6.0 and restart it to get the SYSMETRIC function to return the correct values.

Has anyone else experienced this or is this peculiar to my hardware setup? Or is there a workaround?

Thanks in advance,
Karl Scheff
Next
Reply
Map
View

Click here to load this message in the networking platform