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 function (DBC)

Author
Message
JoelJ
20
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 30th Dec 2003 04:49
probibly will work in DBP too, but i havnt tried.


call it like this:


(x, y, xsize, ysize, image_up, image_down, changing_var#, move, mousex, mousey)
x and y are where you want it to be, x/ysize are how many pixles your image is, image_up is the standard picture for the button (unpressed), image_down is when you click on the button, changing_var# is the varable that changes when you click the button, move is how much the varable changes by, mousex and mousey are the mouse coordinants.

it's very basic, but i find it very useful.

Login to post a reply

Server time is: 2024-05-03 21:01:35
Your offset time is: 2024-05-03 21:01:35