Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sysmetric()
Message
De
24/04/2012 15:31:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01542284
Message ID:
01542520
Vues:
54
>It doesn't sound right. Can you provide more details?


Sergey:

At first thank you very much for answering. By now I've replied to my self... I have to know monitor's resolution. The problem is I use W7 and Aero makes SYSMETRIC() return false values. If I close aero SYSMETRIC() returns what I expect.

Thank you again.

Héctor


>
>>
>>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...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform