Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement