Events question.

  • Thread starter Thread starter Qwert
  • Start date Start date
Q

Qwert

Heya,

on a form with multiple controls, how does one make sure that the mouse
wheel event is always triggered for the same control, no matter which one
has the focus?
Is this possible?

Thanks.
 
How are the control added to the form, design or run time?

Crouchie1998
BA (HONS) MCP MCSE
 
There are probably better ways but you might be able to have one wheel event
handle all controls, i.e.,

Sub MouseWheel (s as object, e as MouseEventArgs) handles
control1.Mousewheel, control2.Mousewheel, etcl

end sub
 

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

Back
Top