closeStackRequest not working?
FlexibleLearning.com
admin at FlexibleLearning.com
Tue Apr 15 02:35:54 EDT 2014
An unterminated lockMesages is also needed to avoid another Save in the
closeStack message...
on closeStackRequest
lock messages
save this stack
put millisecs()
pass closeStackRequest
end closeStackRequest
Hugh Senior
FLCo
-- Original message
The IDE has a default check to determine if a stack needs to be saved
before closing it (I believe someone way back mentioned something about a
"dirty" flag). Attempting to close unsaved stacks will almost always
prompt a save dialog.
When trying the following in 6.6.1 Mac/Win, both work as expected -- the
stack doesn't close because pass is commented out. When the comment is
removed, the stacks save and close as expected.
on closeStackRequest
save this stack
put millisecs()
-- pass closeStackRequest
end closeStackRequest
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
More information about the use-livecode
mailing list