Monday, November 22, 2010 7:38 AM
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.
The tablelayoutpanel has autosize set to false,AutoScroll=True,Growstyle=AddRows and AutosizeMode -Growandshirnk.
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 show even if all the controls are deleted.
Tuesday, November 23, 2010 4:12 PMOwnerYou have posted this to the wrong alias, you need one of the Visual studio aliases.
Charles Ezzell - MSFT
- Marked As Answer by Charles EzzellOwner Tuesday, November 23, 2010 4:12 PM
Tuesday, April 03, 2012 1:06 PM
Did you get to resolve your problem. I am facing same issue, the vertical scrollbar does not disappear even when the tablelayout panel's controls are deleted - to decrease its height.
Thanks in advance.
Wednesday, April 04, 2012 5:56 AM
Even if you are in the wrong forum :-)
Which version of Visual Studio are you using ?
Which version of the .Net Framework are you using for compilation ?
Are you using AnyCPU, X86 or X64 ?
=> I'm not facing the issue using .Net Framework 4.0 X64 !
Steve Melan - BCEE My Blog : http://stevemelan.wordpress.com