Multiple modal cards under 1 substack

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
Posts: 24
Joined: Thu Apr 10, 2014 3:41 pm

Multiple modal cards under 1 substack

Post by dandun » Fri Sep 26, 2014 11:12 pm

I have been reading about modals and looking at example scripts. All of the examples show using only 1 modal per substack and showing the stack vs a specific card within the stack.

on mouseUp
set the loc of stack "modals" to the loc of this stack
modal stack "modals"
show stack "modals"
end mouseUp

Is there an issue if I were to have only 1 substack named "modals" with multiple modals cards for my entire application, or is it suggested, 1 per substack?


VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5340
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN

Re: Multiple modal cards under 1 substack

Post by jacque » Sat Sep 27, 2014 4:54 pm

You can have more than one card in a modal stack. You may need to adjust the scripts to avoid seeing the card change when the modal opens.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software |

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”