On 01/01/2018 07:48 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
Mark recommends using "go in window" on Mobile, saying this closes stack A while going to open stack BThis works on desktop put ("stack " & quote & gems & quote) into tDestination go tDestination # but stack A remains open. but this fails in a backscript put ("stack " & quote & gems & quote) into tDestination; go to tDestination in window Script error, though the dictionary seems to indicate this is correct syntax.
Well, the dictionary leaves a bit to the imagination. It also says Name: window Description: The name or windowID property of any open stack. If a window is specified, the stack opens in that window, replacing the stack that was previously displayed in that window. So I believe what you want (untested) is something more like go to tDestination in <stackName> or go to tDestination in <windowID> -- Mark Wieder [email protected] _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
