Re: Red button close
Re: Red button close
- Subject: Re: Red button close
- From: Ron Medina Ballesteros <email@hidden>
- Date: Mon, 5 Jan 2004 22:12:47 -0800
You can implement the windowShouldClose method in the delegate of your
window.
In this method, you can then do whatever things you need to do when the
window is closed
such as to save the document (assuming your implementing a doc based
app).
You need to return YES or NO if you want the window to close.
~r
On Jan 5, 2004, at 9:24 PM, Jay Rimalrick wrote:
what function will allow me to do commands when a person presses the
red button to close?
thanks,
jay
________________________________________________________________
Sent via the WebMail system at 1st.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.