menuHistory & menuPick

Klaus major-k klaus at major-k.de
Fri Aug 4 14:42:26 EDT 2017


> Am 04.08.2017 um 20:35 schrieb jbv via use-livecode <use-livecode at lists.runrev.com>:
> 
> Hi Klaus
> Thanks for the reply.
> Actually that option crossed my mind, but what if other useful messages
> need to be sent in the meantime, or if there are any pending messages ?

Then the world, as we know it, will END! :-D

> What gets blocked actually ?

Sorry, really cannot tell. Why not try it?

> Thanks
> jbv
> 
> On Fri, August 4, 2017 8:07 pm, Klaus major-k via use-livecode wrote:
>> 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. :-)

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the Use-livecode mailing list