G
Guest
The following situation:
Panel control with Dock=Fill, inside a panel an embedded form with controls
in it.
The code embedding the form into the panel is this:
pnl.Controls.Add(form1);
Everything is working perfect, except the Anchor property of controls on the
embedded form is not working. The form has a grid that should be anchored to
all four sides, however, because the form is embedded into the panel, this
whole design is not working.
Am I missing anything? Any workaround?
Thank you in advance.
Cezar
Panel control with Dock=Fill, inside a panel an embedded form with controls
in it.
The code embedding the form into the panel is this:
pnl.Controls.Add(form1);
Everything is working perfect, except the Anchor property of controls on the
embedded form is not working. The form has a grid that should be anchored to
all four sides, however, because the form is embedded into the panel, this
whole design is not working.
Am I missing anything? Any workaround?
Thank you in advance.
Cezar