HP Forums

Full Version: Mouse Event
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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
Reference URL's