moving gadgets

BlitzMax Forums/BlitzMax Beginners Area/moving gadgets

how can I change the position (x, y, with and height) of a gadget? SetRect doesn't seem to work...

SetGadgetShape?

Setgadgetshape caused many glitches for me.
So I'd prefer to use Setgadgetlayout if possible.

any example?

some code here for SetGadgetShape.

thanks!