调整选项卡控件或表单的大小时,“选项卡页"的大小无法正确调整.
问题描述:
你好
我在拆分器中包含两个选项卡控件.每当我移动拆分器或调整表单大小时,这些选项卡控件中的选项卡页面都无法正确调整大小.
除了每次触发分隔符移动"或窗体调整大小"事件时刷新选项卡控件之外,是否有任何可行的解决方案?
谢谢
Hello
I have two tab controls contained in a splitter. The tab pages in these tab controls aren''t resizing properly whenever I move the splitter or resize the form.
Is there any feasible solution to this problem besides refreshing the tab controls each time the "Splitter Moved" or "Form Resized" event is fired?
Thank you
答
明智地使用Dock
和/或Anchor
属性.只需使用这些属性进行一些实验即可.您应该在几分钟之内解决问题.
UseDock
and / orAnchor
properties wisely. Just do some experiments with these properties. You should get it right in a few minutes.