Hi Jaque. I assume you're using a background grp. If so I have used the "focusOut" message to fire some action in the self-contained grp when the card changes. The "focusIn" message is not received by the group on crad change. This is kind of counter intuitive imho but it works.
All the best Mats > -----Original Message----- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On > Behalf Of J. Landman Gay > Sent: den 3 augusti 2014 21:31 > To: LiveCode Mailing List > Subject: OpenControl > > 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? > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > 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 _______________________________________________ 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