简体   繁体   English

如何使自定义 VScrollbar 与 Richtextbox 关联?

[英]How to make a custom VScrollbar Associated with a richtextbox?

i have a richtextbox and a VScrollbar i set the ScrollBars property in the richtextbox to None and i want my VScrollbar to do the same job as the original ScrollBars .我有一个richtextbox和一个VScrollbar我将richtextbox中的ScrollBars属性设置为None并且我希望我的VScrollbar做与原始ScrollBars相同的工作。

You can do this without a new VScrollBar by setting the ScrollBars property to Vertical .通过将ScrollBars属性设置为Vertical ,您可以在没有新VScrollBar的情况下执行此操作。 If this is not what you want, please respond, and I will try my best to provide a solution.如果这不是您想要的,请回复,我会尽力提供解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM