Author |
Message |
kirsty_16
|
Posted: Tue Jan 13, 2004 1:43 pm Post subject: Button problems |
|
|
Hey everyone
I am trying to finish my ISU but in my program i'm using buttons and they won't work!! I only have like 2 more days and i've tried everything i can think of. If anyone can help thanx so much!! |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Boarder16
![](http://members.lycos.co.uk/paulbian/floppy.gif)
|
Posted: Tue Jan 13, 2004 2:40 pm Post subject: (No subject) |
|
|
post ur code and we can see whats the problem.. ![Confused Confused](http://compsci.ca/v3/images/smiles/icon_confused.gif) |
|
|
|
|
![](images/spacer.gif) |
Cervantes
![](http://compsci.ca/v3/uploads/user_avatars/1023105758475ab2e040bde.jpg)
|
Posted: Tue Jan 13, 2004 4:02 pm Post subject: (No subject) |
|
|
code: |
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 |
|
|
|
|
|
![](images/spacer.gif) |
santabruzer
![](http://www.pureoc.d2g.com/uploaded_images/9853.jpg)
|
Posted: Tue Jan 13, 2004 5:49 pm Post subject: (No subject) |
|
|
button 2 is the left click.. i swear it was 1... ![Confused Confused](http://compsci.ca/v3/images/smiles/icon_confused.gif) |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Tue Jan 13, 2004 8:17 pm Post subject: (No subject) |
|
|
nope... when ur using mousewhere, either one returns 1 |
|
|
|
|
![](images/spacer.gif) |
Cervantes
![](http://compsci.ca/v3/uploads/user_avatars/1023105758475ab2e040bde.jpg)
|
Posted: Tue Jan 13, 2004 9:08 pm Post subject: (No subject) |
|
|
oops, i got mixed up... btn 1 = left (main) btn 2 = right (secondary) |
|
|
|
|
![](images/spacer.gif) |
|