I am trying to have a large tabpage with scroll bars.
I do the following:
but when I add the TabPage to the
After that TabPage1 resizes to match the size of TabControl1.
Any solution to get around this problem and let my TabPage have scroll bars?
Thanks
I do the following:
Code:
this.TabPage1 = new TabPage(); this.TabPage1.AutoScroll = true; this.TabPage1.Size = new System.Drawing.Size(1000, 1000);
Code:
this.TabControl1 = new System.Windows.Forms.TabControl() this.TabControl1.TabPages.(TabPage1)
Any solution to get around this problem and let my TabPage have scroll bars?
Thanks
Comment