Custom ToolBar Icons

  • Hi,

    I am using the default TWPToolBar provided by WPTools (with predifined buttons). I would like to use my own icons instead of the default icons for some button.
    I already tried the WPImageList, but without success.

    How to assign my own icons to some buttons?

    Thanks in advance :)
    /Steven

    • Offizieller Beitrag

    If you want to use your own gylphs it is easier to build a new toolbar using TToolbar and actions or similar controls.

    WPImageList requires a large PNG image to be loaded. Its width must be the same smaller or equal to the property ButtonHeight of TWPToolbar. WPImageList property of TWPToolbar must reference the WPImageList instance.

    Use one of the provided images in the Glyph direcory (installed by WPTools 7.02 registered) as template.