pending message processing

Springer, Paul paul.springer at sensis.com
Tue Apr 27 09:49:52 EDT 2004


I have a question about the processing of pending messages.

 

I am using "send updateLabels to me in 5 seconds" to cause a periodic
updating of button labels based on the contents of a data field. The data
field is on cardA and the buttons are on cardB; there are also other cards
the user may be viewing at any given time. The updateLabels handler is in
the script for the data field.

 

The approach I described works fine as long as I am displaying cardA. When I
go to cardB or any other card the script does not execute periodically as I
expected. Do pending messages only get processed when the card with the
object with the handler is being viewed? I am changing from card to card
using a tab button. Maybe I need to move the handler out to the stack
script?

 

Thanks for any insights you might have.

 

-Paul

 



More information about the use-livecode mailing list