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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to