insert a frontScript containing mouseDown and mouseUp handlers to trap those events when you want to block them and remove the frontScript when done
That will still allow mouseStillDown and mouseRelease messages to be passed for drag operations On 9/1/2014 2:14 PM, Richmond wrote: > > On 1.09.2014 21:03, miked...@gmail.com wrote: >> How about setting the cursor to none and locking the cursor? > > Because the chap may still need the cursor for something else (such as > grab). > >> >> Mike >> >> Original Message >> >> From: Richmond >> Sent: Monday, September 1, 2014 1:59 PM >> To: How to use LiveCode >> Reply To: How to use LiveCode >> Subject: Re: how to stop mouse clicks from executing? >> >> >> On 1.09.2014 20:23, la...@significantplanet.org wrote: >>> I have a situation in my program where I'm showing the user some >>> stuff. I do not want the user to be able to click with the mouse >>> during this time. >>> What is the best way to do that? >>> Actually it would be great if the user couldn't even move the mouse >>> (within my program) during this time. >>> >>> TIA >>> Larry >>> _______________________________________________ >>> >> How about this sort of code in your cardScript: >> >> on mouseUp >> if fld "NIX" contains 1 then >> ---do nix >> end if >> end mouseUp >> >> then have an offscreen fld "NIX" that you put 1 onto when your >> slide-show >> starts, and you put 'empty' into when it finishes? >> >> of course you could move that script out of the cardScript into all your >> buttons on the card >> like this: >> >> on mouseUp >> if fld "NIX" contains 1 then >> ---do nix >> else >> --do whatever you want this button to do >> end if >> end mouseUp >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode