 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ariela Guest
|
Posted: Mon Feb 13, 2006 12:03 pm Post subject: Get the absolute Top and Left of a component |
|
|
Hi
I have a form that has on it few Panels - on those panels there are
more panels and on those there are some components.
How do I get the absolute Left and Top of components that is on some
child panel ?
( if I do left + parent.left + parent.parent.left I will get the
right answer - but that is not a good way of course ...
thanx
Ariela. |
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Wed Feb 15, 2006 9:03 pm Post subject: Re: Get the absolute Top and Left of a component |
|
|
On 13 Feb 2006 03:39:38 -0800, Ariela wrote:
| Quote: | How do I get the absolute Left and Top of components that is on some
child panel ?
|
Hoi Ariela
I think you can use ClientOrigin property to get absolute coordinates.
Beside this you need to know that this newsgroup do not officially exist,
that is why there is so few posts and so few viewers here. The newsgroup
you should use is b.p.d.vcl.components.using.win32. If you need more help
repost there and when you do, you need to post to the Borland news groups
server.
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups> |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|