Why a closestack message is sent when i save the stack ?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Why a closestack message is sent when i save the stack ?

Post by jmburnod » Tue Jan 24, 2012 1:05 am

Hi All,

In a main stack LC 5.0 with a "closestack" handler in a backscript.
When i save the stack by command-S, it seem a closestack message is sent with the error window and i clic on th closebox
i have a new error linked to the "closestack" handler of the backscript.

I can use an other way but is it a bug or the expected behavior for you ?

Best regards

Jean-Marc
https://alternatic.ch

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Why a closestack message is sent when i save the stack ?

Post by Mark » Tue Jan 24, 2012 3:03 am

Hi,

When the saving dialog closes, a closeStack message is sent and apparently caught by your backscript. No bug.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Why a closestack message is sent when i save the stack ?

Post by jmburnod » Tue Jan 24, 2012 8:41 am

Hi Mark,
Thank for this confirmation

Best regards

Jean-Marc
https://alternatic.ch

Post Reply