Post Reply 
How to use MOUSE
02-24-2020, 10:46 PM
Post: #1
How to use MOUSE
Hi all,
For user input on the screen there is the command MOUSE. According to the description, this command provides two lists with the following content: {#x, #y, #originalx, #originaly, #type}. To see what the actual output of this command looks like, I have created a small program, see the code below. The output is as follows: {{#125:-16h;#EF:-16h;#125:-16h;#EF:-16h;#1:16h};{}}. With repeated program execution, a number of values change, probably depending on where you press the screen. If I compare the description with the output, I notice that each of the fields in the list corresponds to 2 values. I would like to know which of these values I must use to be able to operate a program from the screen. I cannot find a good description of this command in the manual, as well as an example in which this is used. I would like to have some more documentation of this command, as well as some examples in which this is used. Can someone help me with that? Thanks in advance! Sincerely, Karel.

Code:

EXPORT TEST()
BEGIN
L1:=MOUSE();
END;

I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to use MOUSE - cahlucas - 02-24-2020 10:46 PM
RE: How to use MOUSE - Jacob Wall - 02-25-2020, 12:05 AM
RE: How to use MOUSE - cahlucas - 02-25-2020, 03:07 AM
RE: How to use MOUSE - Jacob Wall - 02-25-2020, 04:05 AM
RE: How to use MOUSE - cahlucas - 02-26-2020, 10:37 PM
RE: How to use MOUSE - cahlucas - 02-26-2020, 09:39 PM
RE: How to use MOUSE - Giancarlo - 02-28-2020, 06:18 PM
RE: How to use MOUSE - cahlucas - 02-29-2020, 02:27 AM



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