Stack or Card Control Question

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
warrenk
Posts: 110
Joined: Sun Sep 21, 2008 5:39 am

Stack or Card Control Question

Post by warrenk » Fri Oct 10, 2008 7:24 pm

I have a application with two stacks (Mainstack + Substack). Is there anyway for me to prevent the user from getting control of the mainstack until they close the substack? My main stack controls the main application and the substack is a window that allows the user to register. When the window is open to register, I don't want the user to have the ability of changing anything in the application (Mainstack)

Any help greatly appreciated!

Thanks,
Warren

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat Oct 11, 2008 2:36 am

Hi Warren,

The easiest way to do this is probably to open your registration stack as a modal dialog.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

warrenk
Posts: 110
Joined: Sun Sep 21, 2008 5:39 am

Post by warrenk » Tue Oct 14, 2008 4:11 pm

Mark,

Thanks for the suggestion. This worked great!

Warren

Post Reply