 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jeff Guest
|
Posted: Wed Jul 23, 2003 11:31 pm Post subject: Toolbars and Statusbars |
|
|
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
|
Posted: Thu Jul 24, 2003 4:34 pm Post subject: Re: Toolbars and Statusbars |
|
|
"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 |
|
 |
|
|
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
|
|