ok the buttons are getting on my nervs i found out how to make them but when i click them it wont work can someone plz help me out with the code for when its clicked it will do something...Theres 6 buttons by the way thanks in advance
Maybe you could show us your code, so we can help you?
I'd make a function for eah button, that way it'd be easier to add buttons:
function button(x,y,w,h,t$)
` draw rectange for button here
` check if mouse is inside button
` -- if mouse inside an clicking, return a "2"
` -- if mouse is inside but not clicking return a "1"
endfunction returnvalue
now you could have some code like so:
click = button(0,0,100,100,"Pick me!")
if click = 2 then print "you clicked me!"
to check the button for clicks
Theres no place like 127.0.0.1
There are 10 people in this world, those who understand binary and those who don't
Bus station = where bus stops. Train station = where train stops. Workstation = ?