Simple splash screen issue
Posted: Mon Jan 15, 2018 8:18 am
I'm surely missing something ridiculously simple, but I'm freaking out because the app is supposed to go public in a few days.
I've just added a simple splash screen (substack) as a modal dialog that includes the usual credits and copyright info, to be displayed when the app first opens and when the user chooses "About" from the app menu.
That's all fine: It displays when the app first opens and when one chooses "About" from the menu (in each case dismissed by an "OK" button rather than a timed display, so the user has enough time to read and take note of the contact info).
The thing is that when one clicks on a button on the current card of the mainstack to display a different modal dialog (to set preferences), it displays again the splash screen first. (Curiously, this doesn't happen when one clicks on a different button that summons an "ask file" dialog.)
I've tried placing the command "modal stack "Splash" " in either preOpenStack or openStack messages in the mainstack script, but neither makes a difference. I don't know where else to put this so the splash screen isn't displayed after the app is opened unless called from the "About" menu.
Any advice will be greatly appreciated.
jeff k
I've just added a simple splash screen (substack) as a modal dialog that includes the usual credits and copyright info, to be displayed when the app first opens and when the user chooses "About" from the app menu.
That's all fine: It displays when the app first opens and when one chooses "About" from the menu (in each case dismissed by an "OK" button rather than a timed display, so the user has enough time to read and take note of the contact info).
The thing is that when one clicks on a button on the current card of the mainstack to display a different modal dialog (to set preferences), it displays again the splash screen first. (Curiously, this doesn't happen when one clicks on a different button that summons an "ask file" dialog.)
I've tried placing the command "modal stack "Splash" " in either preOpenStack or openStack messages in the mainstack script, but neither makes a difference. I don't know where else to put this so the splash screen isn't displayed after the app is opened unless called from the "About" menu.
Any advice will be greatly appreciated.
jeff k