gborges
February 26th, 2009, 08:24 AM
Hi all!
In my app, both, the usercontrol and the form can be scrolled.
I would like to add a function which the scrolling act is captured by the usercontrol if the mouse is over the usercontrol or by the form if the mouse is not over the usercontrol.
Now, in my app, the scrolling action is captured by the form and by the usercontrol, but all the time even if the mouse is over the usercontrol, only the form gets this action (scrolling).
How should I code in order to have this scrolling behavior in my app?
Thank you in advance!
Gustavo
In my app, both, the usercontrol and the form can be scrolled.
I would like to add a function which the scrolling act is captured by the usercontrol if the mouse is over the usercontrol or by the form if the mouse is not over the usercontrol.
Now, in my app, the scrolling action is captured by the form and by the usercontrol, but all the time even if the mouse is over the usercontrol, only the form gets this action (scrolling).
How should I code in order to have this scrolling behavior in my app?
Thank you in advance!
Gustavo