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

Username:   Password: 
 RegisterRegister   
 mousewhere help!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Andy1994




PostPosted: Sun Jan 10, 2010 11:38 am   Post subject: mousewhere help!

so, im using the mousewhere command. and im wondering if there is anything to un-do one after you clicked it.

e.g
mousewhere (x, y, button)
if button = 1 and x > 220 and y > 45 and x < 400 and y < 115 then
cls
Pic.Draw (InstructionMenu, 0, 0, picCopy)

how do i un-do the command so that when i click that box after i get to the instruction menu nothing happens. because right now. there is still an invisible box that i can click.
Sponsor
Sponsor
Sponsor
sponsor
registration




PostPosted: Sun Jan 10, 2010 5:17 pm   Post subject: Re: mousewhere help!

loop
Mouse.Where ()
exit when button = 1
end loop

look at the during docs before you ask, they're actually pretty helpful.
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  [ 2 Posts ]
Jump to:   


Style:  
Search: