滚动条下降 [英] scroll bar to come down

查看:105
本文介绍了滚动条下降的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我编写了一个带有按钮和滚动条的表单应用程序.最初有四个按钮.当我单击第一个按钮时,内容将显示给用户.出现滚动条.当我按第二个按钮时,按相同的方式向用户显示,但是随着内容的增加滚动条会向上移动.我希望滚动条下移.如何实现????

hi all

I have code a form application with buttons and scroll bars .Initially there a four buttons .When i click on the first button the contents will be shown to the user .The scroll bar appears.When i press the second button the same way the contents are show to the user but the scroll bar moves up as the contents increases .I want the scroll bar to move down .How to do it ????

推荐答案

使用 ScrollControlIntoView [ ^ ]方法用于显示内容的表单(或面板).
Use the ScrollControlIntoView[^] method for the form (or panel) that you are displaying the content in.


不清楚(滚动条随着内容的增加而向上移动)

您可以检查 ScrollToEnd [ ^ ]但是.
Not clear (the scroll bar moves up as the contents increases)

You can check ScrollToEnd[^] though.


这篇关于滚动条下降的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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