By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,208 Members | 1,846 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,208 IT Pros & Developers. It's quick & easy.

Vertical scrollbar control

P: 33

In my application for the panel control im adding seperate vertical scroll control, if i manually scrolls it, then its working fine i.e im able to scroll. But how to scroll with the mouse wheel also, for this wat are the required events to be handled. And, if the mouse is on the panel control then also scrolling should be there.

Presently im handling the veritcal scrollbar scroll event only.

Any Suggestions will be greatly appreciated.....

Thank u
Jan 30 '07 #1
Share this Question
Share on Google+
2 Replies

Expert 2.5K+
P: 4,871
If you set the default focus on a child of the panel that should work. Here is an example:
How to: Set Focus on ASP.NET Web Server Controls
Jan 30 '07 #2

P: 33
Thank u for ur reply...

Mine is a windows application not a web application, i used the mousewheel event, to scroll but its not at all calling. When the mouse wheel event will be called.

Thank u .
Jan 30 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.