如何在Scintilla中进行自动滚动? [英] How make autoscroll in Scintilla?
本文介绍了如何在Scintilla中进行自动滚动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个使用Scintilla的简单VB.NET应用程序.我不知道添加文本后如何使控件自动滚动.
I have a simple VB.NET application using Scintilla. I don`t know how can I make the control auto scroll when text is added to it.
任何人都可以帮忙吗?
谢谢
推荐答案
完成.
Scintilla可以通过以下方式自动滚动:
Scintilla can auto-scroll by calling:
Scintilla1.Scrolling.ScrollBy(0, Scintilla1.Lines.Count)
Scintilla1.Scrolling.ScrollBy(0, Scintilla1.Lines.Count)
因此它滚动到最后一个文本行.
so it scrolls to the last text line.
这篇关于如何在Scintilla中进行自动滚动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文