Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NYCoord
Message
From
24/12/2010 12:17:54
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
24/12/2010 11:37:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01493758
Message ID:
01493803
Views:
68
>Yes, thanks... I having a little trouble getting the position of the form. What gives the value of the top left of my form? Thanks again!

For a desktop form it should be form.left, form.top, with maybe some border thicknesses - if not exactly correct, you may need to include some of the sysmetric() values. For forms in _screen, you need objtoclient() on the form, and I guess also the difference between _screen.left vs _vfp.left (the _screen being the white area of the vfp's IDE, in which our forms can move) and _screen.top vs _vfp.top. These may not be constant if you have anything docked up or left.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform