Gadget action on mouse downArchives Forums/BlitzPlus Programming/Gadget action on mouse down
| First of all, Happy New Year.|
Anyone know a way of getting B+ to produce a gadget event when you downclick on a button? From my tests the event is produced only when you upclick.
I'm making a resize bar for my app and am trying to use a long thin button to do it. I suppose you could call it click and hold.
downclick - initially pressing the LHM on a buttton
upclick - releasing the LHM.
| Why don't you use a canvas? I made such a dragbar myself some month ago, works perfectly with a canvas. If you want the animating 'push-in' effect from the button, then you could try to animatie this yourself with that canvas. |
| Thanks CS_TBL. For some reason I was using a button..|
I've just rewritten it to use a canvas and it works great. I can even integrate it into my existing mousedown check routine.
Thanks a lot for you help.