How can I read the result of a gButton Function and make an action ?
Expl: gButton "Button1",1,20,10,100,20,1
How can I read the result of a gButton Function and make an action ?
Expl: gButton "Button1",1,20,10,100,20,1
You can't.
gBUTTON is only a draw command.
You need to analyse events captured by GETEVENT32 ev$() and see whether any of those should apply to your button.
Check out any of the template eventloops for guidance, e.g. Ewan's.
cheers
Martin