
-----------------------------------
kirsty_16
Tue Jan 13, 2004 1:43 pm

Button problems
-----------------------------------
Hey everyone
I am trying to finish my ISU but in my program i'm using buttons and they won't work!! :cry:  I only have like 2 more days and i've tried everything i can think of. If anyone can help thanx so much!!

-----------------------------------
Boarder16
Tue Jan 13, 2004 2:40 pm


-----------------------------------
post ur code and we can see whats the problem.. :?

-----------------------------------
Cervantes
Tue Jan 13, 2004 4:02 pm


-----------------------------------

var x, y, btn : int
loop
Mouse.Where (x,y,btn)
if btn = 1 (thats a right click) then
bla bla bla
end if
if btn = 2 (left click) then
bla bla
end if
if btn = 3 (middle) then
bla
end if
end loop

-----------------------------------
santabruzer
Tue Jan 13, 2004 5:49 pm


-----------------------------------
button 2 is the left click.. i swear it was 1...  :?

-----------------------------------
Andy
Tue Jan 13, 2004 8:17 pm


-----------------------------------
nope... when ur using mousewhere, either one returns 1

-----------------------------------
Cervantes
Tue Jan 13, 2004 9:08 pm


-----------------------------------
oops, i got mixed up...  btn 1 = left (main)       btn 2 = right (secondary)
