Tablelayoutpanel垂直滚动问题 [英] Tablelayoutpanel Vertical scroll issue

查看:712
本文介绍了Tablelayoutpanel垂直滚动问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆