Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A control's position relative to the screen
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01263476
Message ID:
01263485
Views:
9
Glad I could be of some small assistance :-)

>Spot on Terry
>
>That's what I tried and I must confess it's working but I thought I was just lucky, but after changing the controls position I noticed it was still working.
>
>I wasn't entirely confortable but you have authenticated it now, thanks.
>
>Mathias
>
>>>Hi all,
>>>
>>>I have a control on one of the pages on a pageframe.
>>>
>>>I know there a way to work it's position relative to screen, I know someone here has the answer. Is that you? Please help.
>>>
>>>Thanks
>>
>>Mathias
>>
>>Well you have the control's left and top props, giving the position relative to the TLH corner of the pageframe, and those of the pageframe relative to that of the form. The form also has these, relative to the TLH corner of the foxpro screen. I'd say simply add the three together to give control position relative to the TLH corner of the foxpro screen.
>>
>>Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform