[DUG] png buttons, actionbars
Stacey Verner
stacey at cjntech.co.nz
Wed Oct 3 08:23:36 NZDT 2007
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: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20071003/66eac3d1/attachment.html
More information about the Delphi
mailing list