[index]

LockMessages Property

Syntax

set the lockMessages to <boolean> Applies to global

Description

The lockMessages property controls whether messages are sent or are prevented from being sent. You can lock the following system messages: When the lockMessages property is set to true, handlers are executed more quickly because the system messages just listed are not sent. The lockMessages property is automatically set to false when an idle message is sent. Therefore this property can be changed only within the scope of a script.

Examples

The following handler uses the lockMessages property to retrieve the name of every card in the stack without triggering any openCard or closeCard messages. on mouseUp set the lockMessages to true lock screen of this stack go to card i after field "card names" of card "Card with Names" end repeat go to card "Card with Names" unlock screen set the lockMessages to false
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.