alwayssmiling

Hi,

In my application in the form control one custom tab control called turbotabcontrol, For this iam adding one user control, which contains collection of conrols

now if i resize the form ( in the sense if the change the system settings from 1024 *768 to some thing else), the controls in the form are not automatically resized according the form size. Can any one tell me why this is happening, and suggest some solutions for this.

Thank YOu



Re: Visual C# Express Edition Resizing the controls automatically based on form resize

Geert Verhoeven

Hi,

The easiest way is to use the anchor/docking properties of the control.

Greetz,

Geert

Geert Verhoeven
Consultant @ Ausy Belgium

My Personal Blog






Re: Visual C# Express Edition Resizing the controls automatically based on form resize

alwayssmiling

ya thank u for ur reply,

I know that with the help of the anchoring i did some things in the application, but some things are working fine and some are not, how excatly these anchor styles (i.e left, right ---) working on parent control. when they will override the parent control.

thank u





Re: Visual C# Express Edition Resizing the controls automatically based on form resize

alwayssmiling

Hi,

Now i got the required functionality for my application. For this i take the help of anchoring and docking, panels and splitter controls

both horizotnally and vertically. Splitter controls are used to maintain the distance between controls. Now its working fine for any

resolution. Hope these suggestions will be useful some other developers.

Thank u.