Post Reply 
Code snippet: drawmenu with catching user action
03-04-2014, 04:52 AM (This post was last modified: 03-04-2014 04:52 AM by patrice.)
Post: #6
RE: Code snippet: drawmenu with catching user action
(03-03-2014 10:08 PM)Stefan Wrote:  
Code:
 // Check whether one of the on-screen buttons was pressed:
 IF (mouselist(1)==3 AND mouselist(3) >= #DD:-16h) THEN
You even have to split this test in 2.
Because you can be unlucky and get a "mouse up" event with no coordinate.

Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Code snippet: drawmenu with catching user action - patrice - 03-04-2014 04:52 AM



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