ScrollBar Location

  • Thread starter Thread starter Dino M. Buljubasic
  • Start date Start date
D

Dino M. Buljubasic

I have a panel on a form. The panel is larger than the form and it contains
user controls of the same width as the panel. (Therefore, not all area of
user control/panel are visible. The panel AutoScroll property is set to
True.

The problem is that when the user control on the panel recieves the focus,
the panel moves tovard right little bit (it scrolls to the right). I would
like to make not to scroll untill user wants to scroll it to the right. Is
there a way to do that?

Thank you,
Dino
 
* "Dino M. Buljubasic said:
I have a panel on a form. The panel is larger than the form and it contains
user controls of the same width as the panel. (Therefore, not all area of
user control/panel are visible. The panel AutoScroll property is set to
True.

The problem is that when the user control on the panel recieves the focus,
the panel moves tovard right little bit (it scrolls to the right). I would
like to make not to scroll untill user wants to scroll it to the right. Is
there a way to do that?

I am not sure if this can be done. Notice that you can set the auto
scroll position by setting the conrol's 'AutoScrollPosition' property.
 
Back
Top