Delegate ans NSPane
Delegate ans NSPane
- Subject: Delegate ans NSPane
- From: Jacques Foucry <email@hidden>
- Date: Thu, 21 Feb 2002 11:44:42 +0100
Hello,
I have a NSPanel with some controls (a NSTextField ans a Checkbox and to
button "cancel" and "save"). Attached to this Panel, a Delegate used to
show a sheet "are your sure you want close this pane?".
This works fine, if I click on the "red button" the sheet is displaying.
The same for the cancel or the save button.
But, when I click on the save button, I don't want to have the sheet.
So, I have a BOOL var, named wasSaved which is YES after a click on the
save button.
How can I access to the wasSaved var in my delegate ?
Thanks in advance,
Jacques, from Paris France.
--
Il n'y a rien de s{r en ce bas monde, ` part la mort et les imptts.
_______________________________________________
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.