Hi,

Include a front script in your group and add a preOpenCard handler to that front script.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 8/3/2014 21:30, J. Landman Gay wrote:
I want to create a shared group that resets its content every time it's
displayed on a different card. The group needs to be self-contained with
no additional scripting anywhere else in the stack.

The preOpenControl and openControl messages are only sent the first time
the shared group is drawn. I need a similar message every time the card
changes. I'd rather not put a different copy of the control on every
card (which would allow those messages.)

Has anyone dealt with this?


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to