Resizing Form Having Many Controls
-
I created a Form having controls more than 500(say) in a Panel all are having anchors set(incl. Panel). When I try to Resize the Form, It takes too much of time to get refreshed. The Form get dull and sluggy for few seconds. Is there anyway by which I kan write a code after resizing event of form gets over? Or boost up the speed of Resizing event. Anchoring is not the solution @ all :( . Moreover, when I give "Panel1.Controls.Clear", It takes 2 much time to Clear all the Controls from The Panel. Plz HELP........ RAVI.
-
I created a Form having controls more than 500(say) in a Panel all are having anchors set(incl. Panel). When I try to Resize the Form, It takes too much of time to get refreshed. The Form get dull and sluggy for few seconds. Is there anyway by which I kan write a code after resizing event of form gets over? Or boost up the speed of Resizing event. Anchoring is not the solution @ all :( . Moreover, when I give "Panel1.Controls.Clear", It takes 2 much time to Clear all the Controls from The Panel. Plz HELP........ RAVI.
-
I created a Form having controls more than 500(say) in a Panel all are having anchors set(incl. Panel). When I try to Resize the Form, It takes too much of time to get refreshed. The Form get dull and sluggy for few seconds. Is there anyway by which I kan write a code after resizing event of form gets over? Or boost up the speed of Resizing event. Anchoring is not the solution @ all :( . Moreover, when I give "Panel1.Controls.Clear", It takes 2 much time to Clear all the Controls from The Panel. Plz HELP........ RAVI.
RAVI143 wrote: I created a Form having controls more than 500(say) in a Panel :wtf::wtf: How do you fit everthing inside?? My suggestion is, if it's not all visible at one time, try to add controls dynamically instead of having all the controls at the same time. Nick Seng (the programmer formerly known as Notorious SMC)
God, I pity me! - Phoncible P. Bone
-
I created a Form having controls more than 500(say) in a Panel all are having anchors set(incl. Panel). When I try to Resize the Form, It takes too much of time to get refreshed. The Form get dull and sluggy for few seconds. Is there anyway by which I kan write a code after resizing event of form gets over? Or boost up the speed of Resizing event. Anchoring is not the solution @ all :( . Moreover, when I give "Panel1.Controls.Clear", It takes 2 much time to Clear all the Controls from The Panel. Plz HELP........ RAVI.
500 CONTROLS?! :wtf: I'd look at that and close the window immediately and the entire app shortly thereafter and write it off as being way to convoluted. How about breaking some of that up into multiple forms. Coding for every one of these must be a real pain? Even to just get values! RageInTheMachine9532