revMessageBoxRedirect

David Bovill david at openpartnership.net
Wed Jun 13 14:56:35 EDT 2007


This is a currently unsupported feature which looks quite useful:

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.



However if I:

set the revMessageBoxRedirect to the long id of this stack


 A "msgChanged" is sent to the stack but without any parameters so I don't
know what the message was? Any ideas?



More information about the use-livecode mailing list