I think there's a global array in the IDE keyed by stack name with a value
of true/false that indicates whether the stack is "dirty".  You could
probably set that appropriately but unfortunately, I can't remember its
name, except that it begins with "g"!!!

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Thu, Feb 5, 2015 at 9:35 AM, Bob Sneidar <bobsnei...@iotecdigital.com>
wrote:

> Had to pass closeStackRequest, but I still get the menu. I am not sure
> there is a way in LC to do this, and there ought to be. Perhaps I’ll
> include a feature request for this, something like a property called
> suppressSavePrompt. It can be set to values “save” or “close”.
>
> Bob S
>
>
> On Feb 5, 2015, at 09:17 , Bob Sneidar <bobsnei...@iotecdigital.com
> <mailto:bobsnei...@iotecdigital.com>> wrote:
>
> Didn’t work.
>
> Bob S
>
> on closeStackRequest
>     dispatch "menuPick" to btn "File" of grp "revMenuBar" \
>             of stack "revMenuBar" with "Save"
> end closeStackRequest
>
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to