how can i make vScrollBar that will scroll panel??

cus i made a program and its realy important there ScrollBar
without ScrollBar its won't be the same

thanks

how can i make vScrollBar that will scroll panel??

cus i made a program and its realy important there ScrollBar
without ScrollBar its won't be the same

thanks

If I understand your question correctly, there is an AutoScroll property for the panel component, but it is set to false (off) by default. Just change it in the property settings, or programatically:

panel1.AutoScroll = true;

Turning on Autoscroll will cause the scroll bars to appear when the contents of the panel exceed its size.

Intersting.

is there a way to detect when the scrollbar is initiated and have it scroll to a certain position of the page? in pixels maybe

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.