Embedding a form into a panel control

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top