how to trap put calls?

Stephen Barncard stephenREVOLUTION2 at barncard.com
Mon Jan 21 14:29:00 EST 2008


the revMessageBoxRedirect
~~~~~~~~~~~~~~~~~~~~~~~~~

This global property allows you to configure what happens when the 
value of the 'msg' pseudo-variable changes.

When set to empty, the old behaviour will be used.

When set to the long id of a field, the old behaviour is replicated 
but instead of 'msg' being put into field 1 of card 1 of stack 
"Message Box", it is put into the target field. (Note that this form 
will also cause the field's stack to be modeless'ed and raised).

When set to the long id of a non-field object, the specified object 
will receive a 'msgChanged' message meaning that you have complete 
control over what to do with the updated value of 'msg'.

NB. This property is only available in the IDE engine.
-- 


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -






More information about the use-livecode mailing list