I've been using PNGComponents (http://thany.org) for awhile now and
found them pretty good. I've never actually used a TActionToolBar (I
probably should investigate more) but can verify the problem your
having. It will probably relate to the TActionToolBar trying to draw
the shadows and not having support for the alpha channel - I suspect
fixing this would be challenging, I've had a quick look at the source
but can't find the code that specifically draws the shadow - however
many of the related methods are virtual so you maybe able to write a
descendant with better PNG support. I unfortunately have to disappear
onsite with a client (otherwise I'd try to track it down).
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
Stephen Barker wrote:
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
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.13.39/1045 - Release Date: 2/10/2007 6:43 p.m.
_______________________________________________
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