annoying Autoscroll

S

Sam

Hi,
I'm using the property autoscroll = true on my forms. I have to. But
the issue is that I soon as you give the focus to, say a control in the
middle of the form, the scrollbar will scroll down to this control. But
I don't want that, I want to manually scroll it. How can I stop this
from happening ?

Regards
 
A

Andrew Morton

If you don't want that feature, why not use System.Windows.Forms.ScrollBar?

Andrew
 
A

Andrew Morton

Sam said:
Andrew,

How do i use this control with a form ?

I have no idea. No-one else was answering and I just happened to look at
autoscroll in the help where it says/implies the automatic scrolling on
focus change is an intentional feature. The help for scrollbar looks like
the example would be a good starting point.

Andrew
 

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