Hi!
I had simalar problem some time ago; I solved it by determining the gadgets screen x, y coords and then using:
rectsoverlap(gadgetsx, gadgetsy, gadgetwidth, gadgetheight, mousex(), mousey(), 1, 1)
any how here is a link to the gadet screen x, y code
http://www.blitzbasic.com/Community/posts.php?topic=22355
check out the last posting!
Mr Brine
I had simalar problem some time ago; I solved it by determining the gadgets screen x, y coords and then using:
rectsoverlap(gadgetsx, gadgetsy, gadgetwidth, gadgetheight, mousex(), mousey(), 1, 1)
any how here is a link to the gadet screen x, y code
http://www.blitzbasic.com/Community/posts.php?topic=22355
check out the last posting!
Mr Brine