Re: no Copy in Select, NSTableView
Re: no Copy in Select, NSTableView
- Subject: Re: no Copy in Select, NSTableView
- From: Ondra Cada <email@hidden>
- Date: Thu, 29 Nov 2001 00:23:28 +0100
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