Hi John,

MC's save-before-close mechanism may be script-based. I think this will take
you there (when typed in msg box):

    edit script of button "menuButton" of stack "metacard menu bar"

If that script is the right one, you can probably figure out MC's mechanism
by studying it.

Phil Davis


----- Original Message -----
From: "John Kiltinen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 9:33 PM
Subject: Saving changes


> I am aiming toward a standalone that opens and closes several stacks.  I
> want to prompt the user to save changes in these stacks when they are
> closed.  I have written "on closeStackRequest" handlers that issue such
> prompts.  My question now is:  Is there a straightforward way to avoid
> bringing up this save prompt if there have been no changes made to the
> stack?
>
> The release notes for MetaCard 2.2.1 include this statement:
>
>    Numerous improvements to the standard UI have been made, including an
>    improve system for prompting to save your work when exiting MetaCard,
>    and protection against deleting a group that appears on multiple
>    cards.
>
> My experience with MetaCard's own save changes prompts seems to indicate
> that MetaCard has some built-in capacity to recognize if changes have been
> made to a stack and not prompt for a save if none have been made.  Is
there
> any way that one could take advantage of this capacity?
>
> John Kiltinen
>
>
>
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
>


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to