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.
我有一个TRichEdit控件,我不断添加行。问题是当控件获得焦点时,只要添加一行,它就会自动滚动到末尾。
TRichEdit
添加行时如何停止滚动条移动到末尾?TRichEdit添加新行时如何防止焦点自动滚动?
从 RichEdit 中移除焦点以停止自动滚动,将焦点设置到 RichEdit 以开始自动滚动。