如何在面板中添加两个滚动条? [英] How to add both scroll bars in panel?
问题描述
我在面板中添加垂直和水平滚动条时遇到问题占用了完整的表单大小。
我的应用程序在高分辨率下运行良好说(1366 x 768)但是当我想运行此应用程序时当表单控件被剪切并且未在表单中正确显示时,像(1024 X 700)这样的较低分辨率。所以我所要做的就是让表格能够以任何分辨率完美运行,如果分辨率低于实际的表格尺寸,它将允许滚动条看到完整的控制。
我尝试了什么:
我已经尝试过,但只添加了垂直面板,当分辨率改变时行为异常。
I got issue in adding vertical and horizontal scroll bars in panel occupying full form size.
My application working good in high resolution say (1366 x 768) but when I want to run this application into lower resolutions like (1024 X 700) when forms controls get cutted and not properly shown in form. So all I have to do is to make form able to running perfectly in any resolution , if resolution is minimum than actual form size it will allow scroll bars to see full controls.
What I have tried:
I have tried it but only vertical panel added and when resolution change it misbehave.
推荐答案
如果我没有错,你的意思是说Form在运行时应该启用滚动条分辨率较低。如果是,请查看表单的AutoSize和AutoScroll属性。
Hi,
If I am not wrong, you mean to say that Form should have scroll bars enabled when run under lower resolution. If yes, check out the AutoSize & AutoScroll property of the form.
这篇关于如何在面板中添加两个滚动条?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!