menuHistory & menuPick

Klaus major-k klaus at major-k.de
Fri Aug 4 14:07:34 EDT 2017


Hi jbv,

> Am 04.08.2017 um 20:04 schrieb jbv via use-livecode <use-livecode at 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
klaus at major-k.de





More information about the use-livecode mailing list