[DUG] png buttons, actionbars

Stephen Barker Steve at webdata.co.nz
Wed Oct 3 00:38:00 NZDT 2007


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/20071002/37e74d5e/attachment.html


More information about the Delphi mailing list