1. Program Problem

Hi,

I have been slowly learning Euphoria and I am making a program for someone.
Anyway I have
a problem... I have mouse support in the program and I cant get it properly find
where I
click. Wherever I click it thinks I clicked on a place where I didnt. In other
words... I
cant get it to differentiate from one place on the screen from another!!! Please
help.

new topic     » topic index » view message » categorize

2. Re: Program Problem

On Tue, 19 Jan 1999 21:59:21 +1000, Jan & Gerald <vk2bnh at IX.NET.AU> wrote:

>Hi,
>
>I have been slowly learning Euphoria and I am making a program for someone.
>Anyway I have
>a problem... I have mouse support in the program and I cant get it properly
>find where I
>click. Wherever I click it thinks I clicked on a place where I didnt. In other
>words... I
>cant get it to differentiate from one place on the screen from another!!!
>Please help.

put the following in your program right after the call to read the
mouse:
position(1,1)
puts(1,"                               ")
position(1,1)
printf("%d %d x %d",{mouse[1],mouse[2],mouse[3]})

You will be able to see the mouse event and the x y coordinates returned.
That makes it easier to determine what the problem is.
Also, download Pete's mighty.e mouse driver file. It works better.
Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu