Dear all,
(1) If I have two datagrid and some textboxs, labels and buttons in the
form, How can I do if there is a resize of the form and I just want only
datagrids which can auto resize to the proportional to the form size.
(2) How about in the web form?
Thanks,
Raymond
Phill W. - 29 May 2008 13:28 GMT
> (1) If I have two datagrid and some textboxs, labels and buttons in the
> form, How can I do if there is a resize of the form and I just want only
> datagrids which can auto resize to the proportional to the form size.
Use the Anchor property on each Control to "attach" it to any of the
four edges of its container Control (or the Form itself).
> (2) How about in the web form?
No idea.
HTH,
Phill W.
Thiago Macedo - 29 May 2008 15:43 GMT
> Dear all,
>
[quoted text clipped - 7 lines]
>
> Raymond
In a web form you'll need to use CSS styles. It's somehow more complex
and the method will vary greatly with your needs (page structure).