By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,156 Members | 1,026 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,156 IT Pros & Developers. It's quick & easy.

when maximize form, rearrange child components of form

P: n/a
i have a datagridview on my Form. When i maximize form ,datagridview remains
in its initial size. i want it rearrage itself with parent form. is it
possible to solve on v.studio design mode without writing extra code(using
events).
Jun 27 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I am not sure what exactly you mean.
You can Set Anchor on your control,
this will resize and rearrange the controls on your form
depending your Anchor settings.

Best regards

"Kayıhan" wrote:
i have a datagridview on my Form. When i maximize form ,datagridview remains
in its initial size. i want it rearrage itself with parent form. is it
possible to solve on v.studio design mode without writing extra code(using
events).
Jun 27 '08 #2

P: n/a
On May 22, 1:07 pm, Kayıhan <Kay...@discussions.microsoft.comwrote:
i have a datagridview on my Form. When i maximize form ,datagridview remains
in its initial size. i want it rearrage itself with parent form. is it
possible to solve on v.studio design mode without writing extra code(using
events).
Kayhan,
You can use DataGridView's "Dock" and "Anchor" properties to fit its
size when the form is resized.

Thanks,

Onur Güzel
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.