WPToolbar, WPImageList, Delphi 2007 - bad results

  • Using XE6, I can successfully use the three toolbar glyph sets provided with WPTools 7 to show different size icons on the toolbar by changing the button height using a single WPImageList with the three glyphs provided.

    However, in D2007, doing the same thing results in icons which are for the most part completely black (some might have some green lines in them).

    Any ideas on what could be wrong?

    • Offizieller Beitrag

    The WPImageList depends on PNG support which is not included in Delphi 2007.

    But it can pull in the pngimage library if PNGIMG is defined in WPINC.INC or better the project.Conditionals.

    {$IFDEF PNGIMG} {$IFDEF DELPHIXE} ,VCL.Imaging.pngimage {$ELSE} ,pngimage {$ENDIF} {$ENDIF}