Abdul Asif

Abdul Asif

  • NA
  • 27
  • 0

Resizing the controls

Dec 11 2007 5:44 PM
Hi All,
 
I am using C# 2.0.  I have a form with few controls such as  Panel, TextBox, ListBox, GridView and etc. I am trying to resize all the controls in runtime when user resize the form by dragging form borders and I am doing this by setting Anchor property of all the controls to all sides (right,left,top,bottom) and the Dock property = None. Everything works fine ,but if I set form property AutoScroll = true then controls doesn’t resize. Any idea why? Please help.
 
Thanks in advance!

Answers (1)