How to detect that user closed window

Bob Sneidar bobsneidar at iotecdigital.com
Thu Feb 5 18:35:19 CET 2015


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 <bobsneidar at iotecdigital.com<mailto:bobsneidar at 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



More information about the use-livecode mailing list