How to change color of the scrollbar in SynMemo with VCL styles

1.1k views Asked by At

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 ?

enter image description here

1

There are 1 answers

0
RRUZ On BEST ANSWER

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);

enter image description here