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 

Form Question

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Cenk
Guest





PostPosted: Tue May 09, 2006 9:14 am    Post subject: Form Question Reply with quote



Hi,

How can i find out, what components are visible on a form?
Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Tue May 09, 2006 10:14 am    Post subject: Re: Form Question Reply with quote



Cenk wrote:

Quote:
How can i find out, what components are visible on a form?

Hmmm.

You can iterate through the TForm::Components property to access each
component but then it gets more complicated from what I can see. Looks
like you'd have to dynamic_cast them into an appropriate type to get
their Visible property. Perhaps you can dynamic_cast to TWinControl and
if it works check the Showing property?

Might be worth investigating until one of the resident experts comes up
with a better answer :)

--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) 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.