PDA

View Full Version : TToolbar questions



MichaelR
03-03-2005, 03:31 PM
I'm trying to write a GUI for my application and I want to lay the toolbar out in this sort of fashion:

[+ Close] | [+] [+] | [+]

Where the first "close" button has a right aligned caption, but the remainder of the buttons are simple graphics. I was able to get the caption to right align using the List property, but now I cannot get the other buttons to stay normal, they all want to make themselves the same width as the Close button. Is there a way to turn that off?

Additionally, I'm using ActionLists to define my actions for both my menus and toolbars and though I've cleared the caption for the second button (New), at runtime it still shows the &New text to the right. Is this also something I can work around?

Any help would be greatly appreciated!

BTW, I'm using Delphi 7 in VCL mode.

thanks,
mike

Sly
03-03-2005, 09:54 PM
It's been a while since I've played with toolbars in Delphi, so I'll have to give it a go when I get home tonight.