Suppressing a message?

Doug Lerner doug at webcrossing.com
Fri Jan 30 08:25:50 EST 2004


On 1/30/04 9:10 PM, "Jan Schenkel" <janschenkel at yahoo.com> wrote:

> --- Doug Lerner <doug at webcrossing.com> wrote:
>> I notice that, but wonder about the timing of how
>> that works. According to
>> the docs, the deleteGraphic message (for example) is
>> sent when a graphic
>> removed from the stack.
>> 
>> But when, message-timing-wise, is it removed from
>> the stack?
>> 
>> If I say
>> 
>> lock messages
>> delete graphic "a"
>> unlock messages
>> 
>> Have I really blocked the deleteGraphic message from
>> being sent? Or is it
>> being sent after the messages are unlocked?
>> 
>> doug
>> 
> 
> Hi Doug,
> 
> When you 'lock messages', the engine will not send
> messages, but it doesn't save them for later use,
> either. So there's no need to worry that it will be
> sent after you 'unlock messages'

But... does the above example block all messages associated with "delete
graphic"? Why would it?

doug



More information about the use-livecode mailing list