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 

Resize form when hiding componenets

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





PostPosted: Fri Feb 17, 2006 12:03 am    Post subject: Resize form when hiding componenets Reply with quote



I have a form that has a number of check boxes controls. Most of the
time all of them are visible, but other times I have to hide some of
them. I want the checkboxes to move to fill in any missing space and for
the form to shrink to the new size. Currently this is all done in code.
How can this be done with the controls and the properties? I thought of
using lots of panels, one for each check box that can be hidden. Does
this seem like a good way to do it?

John.
Back to top
Clayton Arends
Guest





PostPosted: Fri Feb 17, 2006 2:03 am    Post subject: Re: Resize form when hiding componenets Reply with quote



You will need to use the 'Align' and 'Autosize' properties for the panels
and the form. You may still have to write some code to fix things up but
this might get you part of the way there.

- Clayton
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.