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.