• 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
Cut & past support in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cut & past support in NSTableView


  • Subject: Cut & past support in NSTableView
  • From: Pete Yandell <email@hidden>
  • Date: Wed, 20 Feb 2002 12:53:46 +1100

How do I go about adding cut, copy, paste and clear support to an NSTableView?

As far as I can see, I should subclass NSTableView, add cut, copy, paste and clear methods to it. I imagine that I'll just pass those straight on to the delegate and actually do the hard work in there. Anybody got an alternative solution?

On a related note, how would I get the NSTableView to treat the delete key as a request to delete the currently selected row(s)?

Pete Yandell
http://pete.yandell.com/


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Compiler skipping code
  • Next by Date: Re: Command-Line Compilers?
  • Previous by thread: Double clicking rows vs. column headers
  • Next by thread: Re: Cut & past support in NSTableView
  • Index(es):
    • Date
    • Thread