Embedding a form into a panel control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am embedding a form into a panel control using pnl.Controls.Add(form);
This works pretty well, however there is one problem.
The panel can resize, so there are cases when the panel size is smaller than
the form embeded in it. The framework handles this problem by showing only a
piece of the form that fits in the panel. Is there a way to add scroll bars
to the panel so that the user can view the entire embedded form without
resizing the panel?
Is there any piece of code that handles this whole situation?
Thank you
Cezar Mart
 
Back
Top