• 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: no Copy in Select, NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: no Copy in Select, NSTableView
  • Next by Date: Cocoa beginner question
  • Previous by thread: no Copy in Select, NSTableView
  • Next by thread: Cocoa beginner question
  • Index(es):
    • Date
    • Thread