Information générale
Catégorie:
Codage, syntaxe et commandes
>>My application utilizes forms designed for a resolution of 800x600 pixels and min 256 colors. Is there a possibility to check the screen resolution and color depth prior to launch the form , within my VFP5.0 app. ?
> If you maximize _screen, i.e. _SCREEN.WindowState=2 then after this you can check _SCREEN.Width and make a conclusion.
Check out the function SYSMETRIC(), in your startup you can check with something like
lcScreenRes = ALLTRIM(STR(SYSMETRIC(1))) + ' x ' + ALLTRIM(STR(SYSMETRIC(2)))
Should return something like "600 x 800" etc...
HTH
Robert Horkay
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