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.
>
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