Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From control position to WAIT row
Message
 
To
09/08/1999 11:06:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00251449
Message ID:
00251481
Views:
8
>Thanks, George! I think SROWS() was what I was looking for. I just plumb didn't find it the function in my searches. Interesting it doesn't come up in help when searching on rows. :-(
>
>I was fine getting the sysmetric() and of course the control's absolute position, but coming up with an SROWS() was just a PIA, frankly.
>
>Thanks again! :)

You're welcome.

There is a potential problem that I didn't mention, however. The control's location doesn't include the offset of the titlebar or borders. Further, it can if it's in a container, its position is relative to the container, and the container relative to the form, etc.

I think you have some code of mine that you might want to look at for resolving this type of thing. However, don't forget that the code uses relative position of the Windows desktop, not VFP's.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform