以编程方式向下滚动 [英] Scroll Down Programatically

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

问题描述

如何以编程方式向下滚动可滚动表单.
谢谢.
关于

How can I scroll down a scrollable form programmatically.
Thank You.
Regards

推荐答案

在页面末尾添加一个不可见的文本框.然后使用"Page.setfocus()"方法使页面向下滚动.
Add a invisible text box at the end of your page. Then use "Page.setfocus()" method so that page will get scrolled down.


:laugh: Hi Team;
如何以编程方式向下滚动可滚动表单.

我不清楚吗???

如果页面中有更多内容,则会自动启用裸滚动.

如果要使滚动条中没有内容,请执行控制",将其设为Visibel false
Control.Visible = false;(不要忘记)&将其置于打击/结束页面并添加一些内容.

然后,您将获得带有(V)滚动条的空白页.

谢谢

Prasanta Kumar Pradhan
:laugh: Hi Team;
How can I scroll down a scrollable form programmatically.

I am not Clear ????

In a page of if more content is there automatically scroll bare is enable.

If you want scroll bar with out Content the Take A Control make it visibel false
Control.Visible = false;(Don''t Forget) & place it blow/End page and add some content.

Then you will get a empty page with (V)scroll bar.

Thank''s

Prasanta Kumar Pradhan


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

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