Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Position of Control in focus
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00545297
Message ID:
00545345
Views:
25
>I was just looking at ActiveControl. Seems to have some potential. Maybe using the Top and Left properties to position the pointer.

I haven't done any testing, but I'd also look at the OBJTOCLIENT() function. It returns the postion of an object relative to the client area of a window. Since the top and left properties are always relative to the container, this would also help. Further, you may have to adjust the postion to take into account the title bar height and frame width. You can get that information via the SYSMETRIC() function.
George

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

Click here to load this message in the networking platform