• 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: Sheets and NSUndomanager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Sheets and NSUndomanager
      • From: Michael Petnuch <email@hidden>
References: 
 >Sheets and NSUndomanager (From: Michael Petnuch <email@hidden>)

  • Prev by Date: Re: Using Bindings with a Slow-Setting Model
  • Next by Date: Re: cocoa scripting: selection
  • Previous by thread: Sheets and NSUndomanager
  • Next by thread: Re: Sheets and NSUndomanager
  • Index(es):
    • Date
    • Thread