Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen Coord vrs Foxpro Forms coord
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00713318
Message ID:
00713582
Views:
22
>please forgive me for being so slow, but I don't get it, don't understand what you mean, would you be so kind to be more explicit?

The co-ordinates of form objects are relative to the window's client area, with 0, 0 being just below the window's title bar. Once you have the form's absolute co-ordinate, you can retrieve the absolute co-ordinates of a control by using the OBJTOCLIENT() function and doing a little math. You have to take into account the height of the title bar and the window's border size. These are available from the SYSMETRIC() function. BTW, GetWindowRect() function can be accessed by the Foxtools _GetWRect() function.
George

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

Click here to load this message in the networking platform