MaxGUI and images

BlitzMax Forums/BlitzMax Beginners Area/MaxGUI and images

TextField and Canvas are two different gadgets.
In most cases you should not put them on top of each other.

You can draw an image inside the canvas.
And check for the mouse to move over the canvas.
Then check for a mouseclick.
And display another image inside the canvas.
This way you get a image "button". <> Createbutton!

You can also use drawtext to display text inside the canvas.