1
Answer

Resizing the controls

Abdul Asif

Abdul Asif

16y
2.7k
1
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)