• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Document-based apps/Alert sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document-based apps/Alert sheet


  • Subject: Re: Document-based apps/Alert sheet
  • From: Francis Derive <email@hidden>
  • Date: Fri, 23 Jun 2006 19:24:43 +0200

Found some material at www.cocoadev.com with
- (void)canCloseDocumentWithDelegate:(id)delegate shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void *) contextInfo.


Hope it helps.


On Jun 23, 2006, at 6:11 PM, Francis Derive wrote:

La liste,

When I click on the window top left close button because the document has been edited but not saved, an alert sheet is displayed to get a chance to save it : this is the material "provided for free" by the Cocoa framework.
How do I customize this sheet ?
This could be either to disable the Save... button ( because the document not having a "valid" content ), or acting on the implemention of the action of the Save... button so as to provide for the same content validation checking.


Merci.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Document-based apps/Alert sheet (From: Francis Derive <email@hidden>)

  • Prev by Date: [SOLVED] Re: Core Data: attempt to insert nil key exception on save:
  • Next by Date: Re: Maintaining "lite" application
  • Previous by thread: Document-based apps/Alert sheet
  • Next by thread: Maintaining "lite" application
  • Index(es):
    • Date
    • Thread