Open stack problem
bobsneidar at iotecdigital.com
Tue Jul 15 12:06:44 EDT 2014
More than likely, there is a script in the stack you open, or possibly the stack you are opening from, that has a runtime error that silently fails and script execution stops. But trying to explain why it works when you double click and not when you click the button would be much more difficult than, say, just waving a voodoo stick in the air and mumbling unspeakable things.
On Jun 8, 2014, at 10:39 , Peter Haworth <pete at lcsql.com> wrote:
> Trying to track down a strange problem involving opening a stack.
> I have a button with a script that issues an answer file statement to get
> the name of a stack file to open. After getting the file name and doing a
> couple of checks I open the stack file then do some other stuff.
> This all works fine if I double click a stack file in the answer file
> dialog. However if I single click a stack file and then click the Open
> button in the answer file dialog, the stack is opened but none of the
> statements after the open stack command are executed.
> Just to add to the merriment, if I set a breakpoint on the open stack
> command, all works fine.
> I've removed all front scripts but same behavior.
> Any ideas?
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode