How to associate Panel and VScrollBar in c#

  • Thread starter Thread starter Atul
  • Start date Start date
A

Atul

Hi All,

I have a panel on which various components are placed. I now need to
scroll the panel vertically using an exteranal VScrollBar component.
Please help me with the code on how this can be achieved.

Your help is appreciated.

Looking forward for a quick reply.

thanks & regards,
Atul
 
Atul,

Why not use the ContainerControl class? It derives from
ScrollableControl, which in turn provides you with all of the functionality
that you are looking for.

Hope this helps.
 

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

Back
Top