Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Button command

Author
Message
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 23rd Sep 2003 20:57
This is very simple. All u have 2 do is follow the basic outline.
The x1,y1,x2,y2 in "function button(x1,y1,x2,y2)" represent the corners of a box.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 29th Sep 2003 18:13 Edited at: 29th Sep 2003 18:21
Thanks Phoenix, im gonna use that code to test if the mouse is on certain parts of the screen and then return a string value which tells me where the mouse is...

[EDIT]
Come to think of it, mabey not, that code isnt really hard to reproduce...

Good idea though...

If Quizz's Are Quizzical, Then What Are Test's?
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 5th Oct 2003 22:23 Edited at: 6th Oct 2003 20:53
thanks - i only did it because i couldn't think of what else to do.

Login to post a reply

Server time is: 2024-11-24 01:46:25
Your offset time is: 2024-11-24 01:46:25