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.
Open Control
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 10100
- Joined: Fri Feb 19, 2010 10:17 am
Open Control
- Attachments
-
- groopy.livecode.zip
- Here's the stack.
- (7.31 KiB) Downloaded 174 times
Re: Open Control
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
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