What Env Variable set when saving standalone?
ahsoftware at sonic.net
Thu Jan 25 19:28:20 EST 2018
On 01/25/2018 03:31 PM, Bob Sneidar via use-livecode wrote:
> Trouble is I DO want to open the login stack modally in development, because it pulls setup information for each user from the Login database, such as custom settings (like local file paths, recent customers list, access level etc). The only time I do NOT want to open that stack is when I am saving as standalone.
> It's not killing me to set the stack mode to top level each time, it's just irritating.
Put a 'Cancel' button on the modal stack.
If it's clicked, toplevel the stack and move on.
Only make the button visible if in development mode.
if the environment is "development" then
show button 'btnCancel'
hide button 'btnCancel'
-- in the button itself
toplevel this stack
ahsoftware at gmail.com
More information about the use-livecode