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

Username:   Password: 
 RegisterRegister   
 turing button problem
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
lovecompsi




PostPosted: Sun Apr 27, 2008 7:03 pm   Post subject: turing button problem

i have a problem about making a button in turing

here is the code i use

var m, n,button : int

loop
Pic.ScreenLoad ("1.JPG", 150, 50, picCopy)

mousewhere (m, n, button)
if button = 0 and 236 > m and m > 68 and 135 > n and n > 68 then% the image when we move the mouse on
Pic.ScreenLoad ("2.JPG", 150, 50, picCopy)
end if
left := button mod 10
if left = 1 and 236 > m and m > 68 and 135 > n and n > 68 then
Pic.ScreenLoad ("3.JPG", 150, 50, picCopy) % the image when we press the button
end if
delay(200)
end loop


ok,it does work, but it doesnt work that

when i run the program, i can always see the "distorted" on the button if i move the mouse on it.

you can put any picure on the button area, and it always has the same problem.

is GUI better to the button program?
Sponsor
Sponsor
Sponsor
sponsor
lovecompsi




PostPosted: Sun Apr 27, 2008 7:29 pm   Post subject: Re: turing button problem

OMG! SORRY, THIS IS QUESTION IS TOO DUMP, I GOT IT!!

SORRY

thank you for reading this anyway
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: