TsSpeedButton Glyph

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35410
    Jacek
    Participant

    glyph.png

    Upper row – design time

    Left upper button: TsSpeedButton with assigned TAction. TActionList has assigned TImageList (24 bit). TImageList contains PNG pictures (with alpha channel).

    Right upper button: TsSpeedButton with the same picture (PNG) loaded thru Glyph property

    Both buttons has Reflected property set to true.

    Lower row – runtime

    Both buttons are displayed without reflection and transparency for their glyphs.

    How can I use TImageList/TActionList with PNGs for TsSpeedButton to have transparency channel and reflection in runtime mode?

    Windows 7 64 Bit, Delphi XE2 (all updates), the latest AlphaControls, skin name: Subway

    Regards,

    Jacek

    #49162
    DarrenB
    Participant

    Hi Jacek,

    I'm no expert so forgive me if I'm wrong…try using the TsAlphaImageList in AlphaTools instead of the TImageList…I use it all the time and it respects transparency perfectly for buttons as you describe them…reflected and all.

    #49195
    Support
    Keymaster

    Hi Jacek

    Can you send me this form for debugging?

    Otherwise, you really can use TsAlphaImageList component without problems.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.