Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From control position to WAIT row
Message
From
09/08/1999 11:08:08
 
 
To
09/08/1999 11:02:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00251449
Message ID:
00251475
Views:
8
John-

>PITA, huh?

Yeah, that's what I thought as I was writing the translation. I really thought I was probably missing something simple. I'll take yours and George's suggestions (SROW()) and post my results here.

Thanks, bunches, John.

>Hi Nancy ---
>
>Wish there was a reasonable way but there isn't :-)
>
>INT(SYSMETRIC(1)/FONTMETRIC(6,WFONT(1),WFONT(2),WFONT(3))) = Max # of "cols"
>INT(SYSMETRIC(2)/FONTMETRIC(1,WFONT(1),WFONT(2),WFONT(3))) = Max # of "rows"
>
>Now use the Top and Left properties of the open Window vs. _SCREEN and the Top and Left properties of the control vs the Window to determine an absolute position for the control. Once you have those absolutes, get a factor of those coordinates vs the maximum (use SYSMETRIC) for the screen and use divide the formulas above by that factor and use those values for the WAIT AT value.
>
Previous
Reply
Map
View

Click here to load this message in the networking platform