Re: enabling Edit menu items in a modal window?
Re: enabling Edit menu items in a modal window?
- Subject: Re: enabling Edit menu items in a modal window?
- From: Steve Christensen <email@hidden>
- Date: Sun, 01 Mar 2009 16:35:35 -0800
On Mar 1, 2009, at 1:59 AM, Paul Sanders wrote:
At the time I check the Edit menu, the focus ring is around my custom
table view and a row is selected. NSTableView says that it implements
selectAll: and deselectAll:, and just to be extra sure, I created my
own that just call super, but that doesn't change any behavior.
Try it in a non-modal window. My guess is that you will get the same
behaviour (which would eliminate one unknown). FWIW I have a text
edit
field in a modal window and all the menu items (which are connected to
firstResponder, as set up by IB) work as they should.
I added a text field to my modal window, and when it is the first
responder the cut, copy, paste and select all menu items are enabled.
Just for grins I added a second NSTableView to the window and
rebuilt. When that table has focus, the edit menu items are all
disabled, just like for the original table.
I admit the possibility that I'm doing something weird, but it must
be a NSTableView-only kind of weird...
steve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden