How might these components receive these calls?

The preOpenCard & openCard messages are sent to the card;

In card or higher script:

on preOpenCard
   get the number of controls of the target
   repeat with x = 1 to it
     send "preOpenCard" to control it
   end repeat
end preOpenCard

Note that each control MUST contain a preOpenCard handler or the message will be passed up to the card...and processing should loop until RAM is exhausted.

A better solution would be to pass the controls a different message, eg: cardPreOpen, rather than using system messages usually targeted to higher objects.
--


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to