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.

Newcomers DBPro Corner / Mouseclick function help

Author
Message
Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 16th Jun 2007 01:19
Hey everyone. I'm having a problem deciding how to make a function. The function I want to make is one that checks if I clicked in certain co-ordinates and then it gosubs according to the image.

I don't want to have to write out the whole "If mousex() < and mousex() > dealio...

The function layout would be sort of like this I think?

function mouseinbox(x1,x2,y1,y2)
bla bla bla
endfunction

Thanks for your help
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 16th Jun 2007 02:56
Yeah, then the bla bla bla would just be:



Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 16th Jun 2007 16:52
Oh cool thanks

Login to post a reply

Server time is: 2024-11-25 17:54:30
Your offset time is: 2024-11-25 17:54:30