Suppressing a message?

Jan Schenkel janschenkel at yahoo.com
Fri Jan 30 07:10:36 EST 2004


--- 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'

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


More information about the use-livecode mailing list