标签控制问题 [英] tab contrrol problem
本文介绍了标签控制问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友..
我使用制表符控件,我想设置制表符控件的高度和宽度以形成表格大小.它是一个基于窗口的应用程序,而制表符控件包含三个制表符页面.因此,制表符页面也可以调整大小
如何处理Form的Resize事件...
请帮助我....
hi friends..
i use tab control i want to set the height and width of tab control acc0rding to form size..Its a window based application.. and tab control contains three tab page..so tab page also resize
how to handle Resize event of Form...
pls help me....
推荐答案
为什么?使用Anchor属性,它将自动调整大小/重新放置.使用Dock属性,它可以填充容器-因此当容器更改时,选项卡也将更改.
相同的属性将适用于您的标签页内容.
Why? Use the Anchor property and it will re-size / re-possition automatically. Use the Dock property and it can fill the container - so when that changes, so will the tab.
The same properties will work for your tab page contents.
这篇关于标签控制问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文