OpenControl

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Aug 3 15:49:45 EDT 2014


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?
>




More information about the use-livecode mailing list