Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Button problems
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kirsty_16




PostPosted: 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!! Crying or Very sad I only have like 2 more days and i've tried everything i can think of. If anyone can help thanx so much!!
Sponsor
Sponsor
Sponsor
sponsor
Boarder16




PostPosted: Tue Jan 13, 2004 2:40 pm   Post subject: (No subject)

post ur code and we can see whats the problem.. Confused
Cervantes




PostPosted: 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
santabruzer




PostPosted: Tue Jan 13, 2004 5:49 pm   Post subject: (No subject)

button 2 is the left click.. i swear it was 1... Confused
Andy




PostPosted: Tue Jan 13, 2004 8:17 pm   Post subject: (No subject)

nope... when ur using mousewhere, either one returns 1
Cervantes




PostPosted: Tue Jan 13, 2004 9:08 pm   Post subject: (No subject)

oops, i got mixed up... btn 1 = left (main) btn 2 = right (secondary)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: