Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From control position to WAIT row
Message
 
À
09/08/1999 10:22:31
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00251449
Message ID:
00251467
Vues:
8
>I'm coming up blank on a reasonable way to translate the position of a control (which is in pixels) to screen rows/cols, which is the parameter WAIT WINDOW takes.
>
>Any ideas? TIA

Hi Nancy,

Well, as a start you'd used SYSMETRIC() to get the height and width of the screen, then use SROWS() and SCOLS() to get the number of screen rows and columns (if _SCREEN is maximized). Divide the height and width by the rows and columns to get the number of pixels for each. This help?
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform