SOLUTON FOUND:
Of course all this can be set from the designer, but using code was good practice.Code:Dim intWidth As Integer Dim intHeight As Integer intHeight = TableLayoutPanel.Height intWidth = TableLayoutPanel.Width TableLayoutPanel.Dock = Top TableLayoutPanel.Autosize = True Panel.MaximumSize.Width = intWidth Panel.MaximumSize.Height = intHeight Panel.AutoScroll = True![]()




Reply With Quote