Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
那里。我用 VCl 主题改变了标准对象的样式。
我使用 Color、Font 和 Gutter 属性来改变 SynMemo 的样式。但我不知道,如何改变 SynEdit 的 ScrollBar 的样式(应用 vcl-theme )。谁能帮我 ?
要添加样式支持,TSynEdit您必须为此类控件注册样式挂钩。尝试使用TScrollingStyleHook样式挂钩。
TSynEdit
TScrollingStyleHook
像这样
TStyleManager.Engine.RegisterStyleHook(TCustomSynEdit, TScrollingStyleHook);