Table layout panel scroll bar

前端 未结 3 523
予麋鹿
予麋鹿 2021-01-01 11:18

given a table layout panel with 2 columns and many rows, how can i attatch a scroll bar to it as sometimes it grows much greater than the size of the form .

Thank yo

3条回答
  •  情话喂你
    2021-01-01 11:45

    For shortcut :

    tableLayoutPanel1.MaximumSize = new Size(tableLayoutPanel1.Width, tableLayoutPanel1.Height);
    tableLayoutPanel1.AutoScroll = true;
    

提交回复
热议问题