Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 471
VeryBadUser Avatar asked Feb 05 '23 07:02

VeryBadUser


1 Answers

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

like image 144
RRUZ Avatar answered Apr 06 '23 12:04

RRUZ