Computer Science Canada

right click

Author:  praveen15 [ Wed Nov 10, 2004 11:52 pm ]
Post subject:  right click

how to use right click in turing just like using left click??

Author:  eNc [ Wed Nov 10, 2004 11:59 pm ]
Post subject: 

what do you mean? like how to use right click to select a gui component or smthing ?

Author:  Tony [ Thu Nov 11, 2004 12:28 am ]
Post subject: 

left and right clicks return same value by default Confused

if you want to be able to tell the difference between the two, use
code:

Mouse.ButtonChoose ("multibutton")

as in
code:

Mouse.ButtonChoose ("multibutton")
var x, y, b : int
loop
    Mouse.Where (x, y, b)
    if b > 0 then
        put b
    end if
end loop

where left is 1, middle is 10 and right is 100


: