Scrolling manually in a Panel-derived class

  • Thread starter Thread starter Andreas Brekken
  • Start date Start date
A

Andreas Brekken

How can I scroll manually in a Panel-derived class?

ScrollControlIntoView is not what I'm looking for, as all of the
painting is done by myself.
 
How can I scroll manually in a Panel-derived class?

ScrollControlIntoView is not what I'm looking for, as all of the
painting is done by myself.

Enalbe AutoScroll (forgot the property name), set AutoScrollMinSize to
the desired size of the virtual screen, then set AutoScrollPosition to
the desired position. That's it.
 
* (e-mail address removed) (Andreas Brekken) scripsit:
How can I scroll manually in a Panel-derived class?

Set its 'AutoScrollPosition' property.
 
Back
Top