Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no Copy in Select, NSTableView



Jake,

>>>>>> Jake (J) wrote at Wed, 28 Nov 2001 16:43:08 -0500 (EST):
J> When a cell is selected in NSTableView, I notice that the items in the
J> Edit menu is disabled. The copy/paste/cut only becomes available via
J> doublclicking. Doesn't it make sense for one to "copy" a cell without
J> being in the editing mode, being able to select multiple items and
J> copy as default? How does one override this behavior?

Implementing the appropriate methods (-copy and -validateMenuItem offhand)
in your NSTableView subclass (or perhaps a category, but in that case you
should check whether you won't clash with something).
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >no Copy in Select, NSTableView (From: Jake <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.