none
Tablelayoutpanel Vertical scroll issue RRS feed

  • Question

  • Hi,

    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.

     

     

    Monday, November 22, 2010 7:38 AM

Answers

  • You have posted this to the wrong alias, you need one of the Visual studio aliases.
    Charles Ezzell - MSFT
    • Marked as answer by Charles Ezzell Tuesday, November 23, 2010 4:12 PM
    Tuesday, November 23, 2010 4:12 PM

All replies

  • You have posted this to the wrong alias, you need one of the Visual studio aliases.
    Charles Ezzell - MSFT
    • Marked as answer by Charles Ezzell Tuesday, November 23, 2010 4:12 PM
    Tuesday, November 23, 2010 4:12 PM
  • Hi VMachu,

    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.

    Any idea/solution?

    Thanks in advance.

    Tuesday, April 3, 2012 1:06 PM
  • Hi,

    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 !

    Best Regards,


    Steve Melan - BCEE My Blog : http://stevemelan.wordpress.com

    Wednesday, April 4, 2012 5:56 AM