Page 1 of 1

Open Control

Posted: Sun Aug 03, 2014 8:58 pm
by richmond62
JLG 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?"

On the Use-List.

I've attached some rubbish here: look in the cardScript.

Re: Open Control

Posted: Sun Aug 03, 2014 10:38 pm
by dunbarx
Hi.

Why not use an openCard handler in the stack script? You can reference the control explicitly, and it will never know the difference.

Craig Newman