Hi jbv,

> Am 04.08.2017 um 20:04 schrieb jbv via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Hi
> According to the doc, when you set the menuHistory property, a menuPick
> message is sent to the button.
> I managed to block the menupick message with a boolean variable, but is
> there an easier/more elegant way to momentary block that message when
> setting menuhistory ?

...
lock messages
set the menuhistory of btn "a wonderful menu button" to 42
unlock messages
...
will do the job. :-)

> Thanks in advance.
> jbv

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


_______________________________________________
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

Reply via email to