Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From control position to WAIT row
Message
 
To
09/08/1999 10:22:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00251449
Message ID:
00251467
Views:
7
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform