I want my buttons to have images with alphablending on them.
As instructed I've included a TXPManifest
component on my mainform.
Below are some images I've loaded into my project.
However my BitBtn
, which is linked to the imagelist via an ActionList still looks off.
<<-- It looks like this at runtime, Yikes!
How do I get Delphi 2007 running on my Windows 7 laptop to actually use the alpha channel the ImageList keeps teasing me with?
In response to @RRUZ, here are the imagelist properties:
(Note the absence of a colordepth
property)
EDIT
The alpha-blending does work with the TMS AdvGlowButton
:
So it's probably not a ImageList issue, as much as it is an BitBtn issue.
UPDATE 2
Downloaded and installed PngComponents
. Putting a TPNGImageList
on a blank form instantly crashes D2007. (Maybe something in the settings/path/etc, but I'm drifting too far from the original issue so I'm dropping the png pursuit).
So that doesn't work.
I suggest you to refer to Anders Melander's Blog.
Hes has published 2 relevant posts both related to alpha blending under Delphi 2007:
Very instructives.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With