Open Inv Stack on iPhone
brahma at hindu.org
Sun May 28 05:56:51 CEST 2017
we have been playing with this open, close, show, destroy, stacks on mobile for several months
FWIW, if you use dispatch to a stack, even if it has GUI on card 1… it just opens in memory but not visible.
if you run "go" later the stack will top level (as you would expect)
#stack MyLibraryWGUI stack script
# do nothing
dispatch "wakeMe" to stack " MyLibraryWGUI " # assumes the stack is in the stack files
# OK if you do this you will not see it open in the IDE (or on a phone) but you can see it open in the project browser.
# Caveat: PB runtime updating is still flaky (9.dp5), you have to close the PB and reopen it. you will see the stack is loaded by not visible.
It's now in the msg path. Later if you if want toplevel it:
go to stack "MyLibraryWGUI"
Working here on desktop and mobile. Send would probably also load the stack (not tested)
On 5/25/17, 12:05 PM, "use-livecode on behalf of Dan Friedman via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
Good suggestion! But, I will need to display the stack at some point. There must be a reason why this is failing. Perhaps someone at LC will see this post and shed some light.
More information about the use-livecode