Hi,
The wait command blocks all other handlers and hence has no effect. Maybe you
mean wait 1 with messages, but I don't think it matters. You can ignore the
wait command. Also, I wouldn't put the quit command in the closeStack handler
but in the closeStackRequest handler because the closeStack
Happy new year to you too, Nico-san!
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Become our partner in sales http://qery.us/1bq Start selling Color Converter
t
Did you try ?
on closeStack
wait 1
quit
end closeStack
Best,
Le 11 janv. 2012 à 03:04, Nicolas Cueto a écrit :
> on closeStack
> quit
> end closeStack
>
>
> Any ideas? Thanks.
>
> --
> Nicolas Cueto
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com
___
Hi Mark,
> That script looks familiar :-)
Thought it might be yours. Knew it couldn't be mine -- somewhat over my head!
And you were right. Now, after I removed the database drivers from
Externals on my nonWin7 machine, the standalone won't close there
either. Will verify this on my Win7 once I
Hi Nicolas,
That script looks familiar :-) Do you do any error checking in your standalone?
If, for example, you're not including database drivers, revOpenDatabases() will
cause an error and your app will not quit. You need to adjust your script a
little by removing the irrelevant parts.
--
Be
Hello,
A standalone can quit on pre-Win7 but not on Win7.
Here's the relevant scripts for the card and the stack:
on closeStackRequest
lock messages
-- MySql
put revOpenDatabases() into myDatabases
repeat for each item myBase in myDatabases
revCloseDatabase myBase
end repeat