Post Reply 
Mouse Event
06-03-2017, 03:54 PM
Post: #1
Mouse Event
How can I intercept mouse events without losing it's original ability?

Example:
I create a drawmenu and intercepts mouse event in order to make drawmenu react to clicks.
I do this in the terminal screen, the terminal screen can be scrolled with mouse events.
You drag the screen down or up and get the scroll as answer.
But if I intercept the mouse like this:
Code:

 IF MOUSE(1)>220 THEN
 //code//
 END;
The scrolling stops working.
Would there be a way to not have to rewrite the scroll myself, or not losing its original behaviour?
Find all posts by this user
Quote this message in a reply
06-05-2017, 05:22 AM
Post: #2
RE: Mouse Event
Hello,

Unfortunately no.
The reason for this is that is that mouse events will not be processed until all programs and other actions are finished as they are themselves actions...

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)