Tablelayoutpanel垂直滚动问题 [英] Tablelayoutpanel Vertical scroll issue
问题描述
我有一个包含3行(样式:自动调整大小)和1列(100%)的tablelayoutpanel。前两行有静态控件。但是第三行row有一个动态控件,可以添加和删除行。
I have a tablelayoutpanel with 3 rows (Style : Autosize) and 1 column ( 100 %).The first two rows have static controls.But the third row has a dynamic control on which rows get added and deleted.
tablelayoutpanel的自动调整大小设置为false,AutoScroll = True,Growstyle = AddRows和AutosizeMode -Growandshirnk。
The tablelayoutpanel has autosize set to false,AutoScroll=True,Growstyle=AddRows and AutosizeMode -Growandshirnk.
当我第三行的控件到达tablelayoutpanel的下边距时,它会添加一个垂直滚动条。但是当我开始删除控件时第三行,即使删除了所有控件,仍会显示垂直滚动。
When i keep adding controls on the third row once it reaches the bottom margin of the tablelayoutpanel it adds a vertical scrollbar.but when i start deleting the controls on the third row,the vertical scroll is still shown even if all the controls are deleted.
推荐答案
我理解你的问题。我将对此进行一些研究。我会尽快回复。
I understand your problem. I will do some research on that. I will reply as soon as possible.
谢谢!
此致,
Vin Jin
这篇关于Tablelayoutpanel垂直滚动问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!