如何在窗口应用程序窗体中将滚动条保持在向上方向 [英] how to keep the scroll bar in upward direction in window application Form

查看:90
本文介绍了如何在窗口应用程序窗体中将滚动条保持在向上方向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家早上好..



i开发了类似编辑器的窗口应用程序。它包含了网页浏览器和很多控件。当我运行应用程序滚动条时在表单中启用。当我执行编辑时,滚动条会下降。因此我无法查看表单顶部的控件。如何使滚动条保持向上方向?



请尽快帮助我

提前致谢

Good morning to all..

i have developed window application like an editor.it contains web browser and lot of controls.so when i run the application scroll bar enabled in the form.each time when i perform edit,the scroll bar goes down.so that i can''t able to view the controls in the top of the form.how to keep the scroll bar in upward direction?

please help me as soon as possible
Thanks in advance

推荐答案

请参阅我对这个问题的评论。它不够清晰和详细,无法提供最终建议,但是...



最有可能的是,您需要在顶部和可滚动部分上安装固定部件底部。这些部分可能是一些面板,但它也取决于你使用的UI库。



我希望这个简单的提示足以让你解决它。 />


-SA
Please see my comment to the question. It''s not clear and detailed enough to give a final advice but…

Most likely, you will need to have a fixed part on the top and scrollable part on the bottom. Those parts could be some panels, but it also depends on the UI library you use.

I hope this simple hint will be enough for you to resolve it.

—SA


通过滚动问题将一个PANEL控件放在你的编辑器上然后你应该是很好....



你在编辑的TOP中控制了什么......

把它们放在PANEL中代替!



然后当你的编辑器滚动时,面板将保持原样!!!
Drop a PANEL control ABOVE your EDITOR with the scrolling issue and Then you should be fine....

What ever controls you have in the TOP of your EDITOR....
Place them in the PANEL instead!

And then when your editor scrolls the panel will stay where it is!!!


这篇关于如何在窗口应用程序窗体中将滚动条保持在向上方向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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