
-----------------------------------
praveen15
Wed Nov 10, 2004 11:52 pm

right click
-----------------------------------
how to use right click in turing just like using left click??

-----------------------------------
eNc
Wed Nov 10, 2004 11:59 pm


-----------------------------------
what do you mean? like how to use right click to select a gui component or smthing ?

-----------------------------------
Tony
Thu Nov 11, 2004 12:28 am


-----------------------------------
left and right clicks return same value by default :? 

if you want to be able to tell the difference between the two, use

Mouse.ButtonChoose ("multibutton")

as in

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
