Dealing with closing a document w/closebox

Jan Schenkel janschenkel at yahoo.com
Sat Apr 5 04:09:02 EST 2003


--- Edwin Gore <edgore at shinra.com> wrote:
> I'm trying to implement standard document handling
> in an application that I am working on, and I have
> everything working except for one thing...
> 
> If there have been changes to the docuemtn stack and
> the user closes the document stack by clicking on
> the closebox I can't find any way of trapping that
> before revolution brings up the standard.
> 
> I have already tried renaming the new docuemnt stack
> to untitled.cdd (the desired extension) hoping that
> rev would pick up on the existing extension, but it
> just tries to save the file as untitled.cdd.rev,
> which is not right.
> 
> So - how to I make sure that the user never sees the
> Rev default save routine, but is always sent to my
> save routine that works right?

Hi Edwin,

Try turing off the development UI to check your
program in an almost stand-alone environment.
Menu 'Development' > item 'Suspend development tools'

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



More information about the use-livecode mailing list