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 

Toolbars and Statusbars

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





PostPosted: Wed Jul 23, 2003 11:31 pm    Post subject: Toolbars and Statusbars Reply with quote



I've got a program with a toolbar on the top, and a status bar on the
bottom. When you shrink the window height-wise, scroll bars appear. When you
scroll to the bottom the toolbar disappears off the screen, the same is true
for the statusbar at the bottom.

Is their a way to anchor them so that they stay on the top and bottom, no
matter what the height of the window is?

Please Help,
Jeff


Back to top
JD
Guest





PostPosted: Thu Jul 24, 2003 4:34 pm    Post subject: Re: Toolbars and Statusbars Reply with quote




"Jeff" <jeffleaming (AT) yahoo (DOT) com> wrote:
Quote:
[...] When you scroll to the bottom the toolbar disappears
off the screen, the same is true for the statusbar at the
bottom. Is their a way to anchor them so that they stay on
the top and bottom,

I'm sure you can but without testing I can't give you a proven
method. Here's the rub ... when the form shrinks, you have to
loose viewable space - period.

What you can try is to put everything on a panel and set it's
align property to alClient. That will cause the panel to
resize with the form. Then use the Align and Anchor properties
of the other components.

Another choice is to establish a minimum form size and allow /
disallow resizing in the forms OnResize event or set the forms
BorderStyle to bsSingle to disallow resizing all together.

~ JD


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.