TsTitleButtons change glyph at runtime

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33225
    Monate
    Participant

    AC 6.14 / Delphi 2007

    Hi,

    I am trying to change the glyph used on a TsTitleButton at runtime to use it as a toggle. The problem is that it looks like the original glyph is used to repaint the button except when the mouse is over the button, when the new assigned glyph is used instead.

    Thank you very much in advance,

    – Manuel

    #40397
    Support
    Keymaster

    Hello

    This glyph will not be repainted automatically, please use UpdateSkinCaption(SkinProvider : TsSkinProvider) procedure for repainting the form caption.

    #40413
    Monate
    Participant

    Hi,

    QUOTE (Support @ Sep 8 2009, 09:40 AM)
    This glyph will not be repainted automatically, please use UpdateSkinCaption(SkinProvider : TsSkinProvider) procedure for repainting the form caption.

    That made the trick. Thanks.

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