TitleButtons not supported in the future?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37687
    HeDiBo
    Participant

    Hi,

    I found these lines in sSkinProvider.pas:

    Code:
    // Paint title buttons
    if (TitleButtons <> nil) and (TitleButtons.Count > 0) then // TitleButtons will be removed soon

    That seems to indicate the titlebuttons property is about to be discarded.

    However, the painting of the buttons in the TsTitleBar component is very different. The buttons in the TitleButtons property mimic the system icons. But with TsTitleBar buttons, that similarity cannot be accomplished.

    Do you intend to keep the TitleButtons property after all? Only if you add a value bsSystem to the Style property of the TacTitleBarItem, in order to mimic a system BorderIcon I would be content with the removal of TitleButtons from the TsSkinProvider.

    #57433
    Support
    Keymaster

    Hello!

    This comment was added there a lot of time ago for some reasons.

    I was planning to remove this comment, but forgot. Please, ignore it.

    #57440
    HeDiBo
    Participant
    'Support' wrote:

    Hello!

    This comment was added there a lot of time ago for some reasons.

    I was planning to remove this comment, but forgot. Please, ignore it.

    Fair enough cool.gif

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