如何在vb.net中全屏显示所有控件和组框 [英] how to make full screen in vb.net with stretch of all controls and groupbox
本文介绍了如何在vb.net中全屏显示所有控件和组框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何在vb.net中全屏显示所有窗口,如果所有控件和组框都位于左上方,如何进行拉伸
i want to know how to show full screen in vb.net if i maximize the window all controls and groupbox goes to left top how to make stretch
推荐答案
您还没有指定任何可以帮助我们为您提供完整答案的内容.
首先,我建议您看看有问题的控件上的anchor属性,这里有一些进一步的阅读内容
MSDN Control.Anchor属性 [ ^ ]
you haven''t specified anything that would help us give you a full answer.
Firstly I would suggest that you have a look at the anchor property on the controls in question here is some further reading
MSDN Control.Anchor Property[^]
我想您是使用像素来定义控件的位置.对于您的面板或内容持有者,请尝试使用%而不是"px"来定义位置.
给出控件的左侧和顶部位置,对于内容持有者,给出其宽度和高度(%).
希望这会有所帮助.
Hi,
I guess you are using pixels for defining the position of your controls.For your panel or your content holder try using % instead of ''px'' for defining the position.
Give the left and top position for your controls and for your contentholder give the width and height in %.
Hope this helps.
这篇关于如何在vb.net中全屏显示所有控件和组框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文