BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Get the absolute Top and Left of a component

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using
View previous topic :: View next topic  
Author Message
Ariela
Guest





PostPosted: Mon Feb 13, 2006 12:03 pm    Post subject: Get the absolute Top and Left of a component Reply with quote



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





PostPosted: Wed Feb 15, 2006 9:03 pm    Post subject: Re: Get the absolute Top and Left of a component Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.