Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sysmetric()
Message
From
21/04/2012 10:40:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Sysmetric()
Miscellaneous
Thread ID:
01542284
Message ID:
01542284
Views:
113
Hi friends:

I developed a system with a resolution of 1024x768 assuming most of clients have video cards and monitor al least that resolution.

However as I have to test a few features before jumping into the pool I found three of the six video card with 1280 x 720...

Vendor say's "If you tell them one video card it's good, but if they have to replace two or more they're going to ask you to put your system on the pocket..."

So I think I found a good solution creating a class where i can change code and two forms where i change size of objets. Am I not a genius?

I found too there's a funciton SYSMETRIC() that allows me to know resolution.

I changed my resolution and it worked!!!

I changed my resolution back and didn't work. SYSMETRIC keeps on returning 1280 not 1920 as it is. I closed VFP. The same. I restarted my machine... the same...

I didn't want to use an API if VFP had a function that does the work but...

Any ideas?

Héctor

PD. I know I'm not a genius...
Next
Reply
Map
View

Click here to load this message in the networking platform