I'm wondering if there's any benefit/efficiency to be had when using one central mouse-handling event, versus having separate mouse handlers for explicit events, controls, etc.
In other words, is this...
test for situation 1
test for situation 2
test for situation 3
...any better/more efficient than
on mouseclick & situation 1
on mouseclick & situation 2
on mouseclick & situation 3
I currently have a project set up using the former arrangement (one central mouse event handler) and it's becoming increasingly unwieldy and difficult to manage the code. So can I consider breaking up the handler into separate individual mouse events, or would it be bad to have, say, 20 separate mouseclick events all tracking the mouse at the same time?
Thanks in advance for any enlightenment here.