Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position of object
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Position of object
Miscellaneous
Thread ID:
00787746
Message ID:
00787746
Views:
43
I need to know the _SCREEN coordinates of an object on a SCROLLING form. When I use OBJTOCLIENT() it gives me the coordinates relative to the top of the form, but if the user has scrolled down to the bottom of a form this position can be much larger than the _SCREEN.Height value.

So how can I calculate the position of an object based on _SCREEN coordinates? I am trying to pop an ActiveX calendar in a particular spot and need to know the object's absolute screen coordinates to do it propertly.

Any ideas?
Next
Reply
Map
View

Click here to load this message in the networking platform