简体   繁体   中英

Winform autoscroll not working

I have a form containing a user control in which I have a GroupBox and in it there is a TableLayoutPanel (table1).

One of the rows in this table also contains a TableLayoutPanel (table2).

I am adding rows to table2 dynamically when the user clicks a link label, and I need to have a scroll bar but there is no scroll bar.

I tried all combination possible with

 AutoScroll = true, AutoSize = true, AutoSizeMode = GrowOnly

But nothing helps.

What can I do ?

似乎Dock.Fill是问题所在...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM