UserControls

H

hula

Hello

can someone tell me whats the best way to place user controls on a
form?
I have to place a dynamic numer of usercontrols inside a form and of
course the form needs to show up scrollbars.

I thought of building a container-control (derived from UserControl)
that uses Autoscroll=true and add the final usercontrols inside this
container.
Could this work or is there some better way?

_thanks
 
H

hula

hula said:
Hello

can someone tell me whats the best way to place user controls on a
form?
I have to place a dynamic numer of usercontrols inside a form and of
course the form needs to show up scrollbars.

I thought of building a container-control (derived from UserControl)
that uses Autoscroll=true and add the final usercontrols inside this
container.
Could this work or is there some better way?

_thanks


Ok Forget the question .....
Use a panel and set autoscroll ......
Thats realy simple now :)
 

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