Detecting Mouse Clicks Page-Wide


Recommended Posts

I want a way to detect active user involvement with the HMI, and my first thought is to capture mouse clicks. Pages don't have events so I can't add an OnLButtonDown event at the page level. I can create an invisible component overlaid in back of everything else and configure an event, which works for random clicks, but if the user clicks on a button, the button captures the click and the event in the background component isn't triggered.

I don't really want to have to go around adding the extra code to all the individual buttons if there's a more direct way.

Any suggestions?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.