menuHistory & menuPick

Klaus major-k klaus at
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>:
> 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



Klaus Major
klaus at

More information about the Use-livecode mailing list