The latest TBX (based on Toolbar 2000) works well.

 

It comes with an image list that supports PNG's with alpha channel.

It supports the system theme so it will look good on XP and Vista, and
it also supports custom themes, although there aren't too many nice ones
around.

There is an extra component that allows you to customise it at runtime.

 

Stacey

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Barker
Sent: Wednesday, 3 October 2007 00:38
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] png buttons, actionbars

 

I know this has been discussed here before, but are there any more
recent opinions on the merits of

 

1. using TActionManager, TActionMainMenuBar, TActionToolBar.

It seems to be a better framework than the original TMainMenu and
TActionList etc.

 

2. decent PNG handling in conjunction with the above.

 

3. any other preferred alternatives?

 

My first tests show that when using the freeware TPNGComponents,
specifically the TPngImageList, along with the standard action bars, the
glyphs are highlighted during mouse-over with an ugly rectangular
background. 

There are 2 style options: XP, and Standard. Standard looks ok, but I'd
like to get the more modern XP style working without the
background/shadow drawing. The box around the whole control is ok, but
not the extra rectangular shadow behind the glyph part.

 

Using RS2007, or whatever it is called now.

 

Another related question: 

By setting the TActionManager's FileName property, the user can
customise the actionbars and have these changes persisted.

But if you distribute an updated exe with say a new menu item it is not
shown, as the user's saved settings take priority over your design-time
changes.

How do you handle this? By erasing their settings file if a new update
is run for the first time, or what?

Regards,

Steve Barker
Webdata Ltd
ph +64 9 4103074 

 

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to