all groups > dotnet windows forms > june 2005 >
You're in the

dotnet windows forms

group:

MouseWheel


MouseWheel Adi
6/27/2005 11:48:02 PM
dotnet windows forms:
I want to use MouseWheel to on the panel but I am only able to use the
MouseWheel Event on the mail form.

On the child controls the main from mouseWheel event works but not their
own. What should I do?

this.MouseWheel += new MouseEventHandler(Form1_MouseWheel);// WOrking fine.
for the form and its child controls.

this.panel1.MouseWheel +=new MouseEventHandler(panel1_MouseWheel); // Not
working. Written in Form's constructor.

Thanks in advance.

Re: MouseWheel Lloyd Dupont
6/28/2005 12:00:00 AM
panel1.Focus() ?
that might help....

[quoted text, click to view]

Re: MouseWheel Aditya Natani
6/28/2005 5:38:45 AM


It worked.
Thanks


AddThis Social Bookmark Button