当用户在另一个richtextbox中键入文本时,如何滚动一个richtextbox [英] How to scroll one richtextbox when user type text in another richtextbox

查看:87
本文介绍了当用户在另一个richtextbox中键入文本时,如何滚动一个richtextbox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,每个人,



我需要一个帮助,对我来说很紧急。



我有c#window app中的两个richtextbox。



在第一个richtextbox中,我从数据库中显示故事。在第二个richtextbox中为空,用户在第二个richtextbox中键入文本以从第一个richtextbox中查看。



我希望当用户在第二个richtextbox中键入文本时,用户不想滚动第一个richtextbox来查看下一行stroy。我想第一个richtextbox是逐行滚动的,当用户逐行输入第二个richtextbox时。



就像打字导师一样。



谢谢

Ram Kumar

Hi, Everybody,

I need a help its urgent for me.

I have two richtextbox in c# window app.

In first richtextbox i have display the story from database. In second richtextbox is empty and user type text in second richtextbox to seee from first richtextbox.

I want that when user type text in second richtextbox then user does not want to scroll the first richtextbox to see the next line of stroy. I want that first richtextbox is scroll line by line when user type in second richtextbox line by line.

Just like a typing tutor.

Thanks
Ram Kumar

推荐答案

这篇关于当用户在另一个richtextbox中键入文本时,如何滚动一个richtextbox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆