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 

TCoolbar and TCoolband.FixedSize := True problems

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





PostPosted: Sat Oct 25, 2003 11:48 pm    Post subject: TCoolbar and TCoolband.FixedSize := True problems Reply with quote



i'm trying get the effect of "Locked Toolbars" on a TCoolbar.

/*Nobody ever actually wants to move or resize the application's toolbar.
And even if they did, i don't save it. Plus, actually attempting to move the
toolbands around the coolbar causes all sorts of stupidness.*/

Anyway...i've dropped two toolbars on a Coolbar, and set both resulting
bands FixedSize and Break properties to True, as well as Coolbar.FixedOrder
:= True;

As you resize the form, both bands swap positions all during the resize.

Additionally, if you size the form wide enough, both Toolbars will appear on
the same line, in flagrant disregard for the "Break" property.

i've posted my demo application and compiled version to .Attachments group.

See what i mean, and see if there's nothing i can do.



Back to top
Ian Boyd
Guest





PostPosted: Sun Oct 26, 2003 1:37 am    Post subject: Re: TCoolbar and TCoolband.FixedSize := True problems Reply with quote



And i put 3 components on a ReBar, and set all 3 bands to FixedSize.

Crashes Delphi as it frantically tries to see what band wins in it's
resizing game.


"Ian Boyd" <ian.borlandnews010 (AT) avatopia (DOT) com> wrote

Quote:
i'm trying get the effect of "Locked Toolbars" on a TCoolbar.

/*Nobody ever actually wants to move or resize the application's toolbar.
And even if they did, i don't save it. Plus, actually attempting to move
the
toolbands around the coolbar causes all sorts of stupidness.*/

Anyway...i've dropped two toolbars on a Coolbar, and set both resulting
bands FixedSize and Break properties to True, as well as
Coolbar.FixedOrder
:= True;

As you resize the form, both bands swap positions all during the resize.

Additionally, if you size the form wide enough, both Toolbars will appear
on
the same line, in flagrant disregard for the "Break" property.

i've posted my demo application and compiled version to .Attachments
group.

See what i mean, and see if there's nothing i can do.






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.