Common Background Group Across Multiple Stacks
Sannyasin Brahmanathaswami
brahma at hindu.org
Sun Apr 17 16:25:04 EDT 2016
dochawk at gmail.com> wrote:
>I have a couple that delete if exists from the second stack, copies from
>first to send, and then places on every card.
>
>You could also have a custom property for cards indicating whether or not
>it should be placed on them.
This makes sense… so how do you do it.
I’m thinking this (pseudo code, yet to be tested)
On preopenStack
# assume the main stack the trigger this is still open
# but on Mobile the new stack will take over the screen
# where
Copy group “bottomNavBar” of stack “mainStackName" to card 1 of this stack
Set the bottom of group “BottomNavBar” of card 1 of this stack to the height of this stack
Repeat with x - 2 to the number of cards of this stack
If the uHasBottomNav of card x of this stack = “true” then
Place group “bottomNavBar” onto card x of this stack
End if
End preopenstack
More information about the use-livecode
mailing list