问题
there. I changed style of standard objects with VCl-theme.
I use Color, Font and Gutter properties to change style of SynMemo. But I don't know, how change style of ScrollBar of SynEdit( apply vcl-theme ). Who can help me ?
回答1:
To add styling support for the TSynEdit
you must register a style hook for such control. Try using the TScrollingStyleHook
style hook.
Like so
TStyleManager.Engine.RegisterStyleHook(TCustomSynEdit, TScrollingStyleHook);
来源:https://stackoverflow.com/questions/41728781/how-to-change-color-of-the-scrollbar-in-synmemo-with-vcl-styles