Re: Sheets and NSUndomanager
Re: Sheets and NSUndomanager
- Subject: Re: Sheets and NSUndomanager
- From: Ryan Britton <email@hidden>
- Date: Thu, 22 Sep 2005 16:55:10 -0700
Sheets are technically windows. The NSUndoManager in use by the undo/
redo options in the edit menu is supplied by the frontmost window's
delegate. If you want to have undo/redo for stuff in your sheet,
you'll have to give the sheet a delegate and provide the undo manager
in the proper delegate method of NSWindow.
On Sep 22, 2005, at 4:45 PM, Michael Petnuch wrote:
Hello everyone,
Here is my problem. I have a sheet bound to my main window
which contains some popup buttons and a text view. I have set up
for when they change to have undo be enabled for them. I was
adding this to the sheets undoManager, however, when I do this, the
undo menu does not get enabled. Can sheet's not have undo's?
Thanks.
Michael Petnuch
_______________________________________________
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
_______________________________________________
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