• 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
Responding to a double-click in a table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Responding to a double-click in a table


  • Subject: Responding to a double-click in a table
  • From: Remco Poelstra <email@hidden>
  • Date: Mon, 28 Aug 2006 22:21:35 +0200

Hi,

I've a tableview (1 column) which displays filename's. I want to be able to open the file when the user double-clicks on a row. I figured out that I would need the mouseDown: method from the NSCell. Therefor I need to subclass it in IB.
To instantiate it, I have to drag my new class in IB to the pallet and from there add it to my user interface.
The question now is: How do I add that cell to my table?
Or am I completely wrong here?


Thanks for any help,

Remco Poelstra

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Responding to a double-click in a table
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: SIGTRAP with MallocStackLogging enabled on Intel
  • Next by Date: Re: changing "document" terminology for AppleScript support
  • Previous by thread: SIGTRAP with MallocStackLogging enabled on Intel
  • Next by thread: Re: Responding to a double-click in a table
  • Index(es):
    • Date
    • Thread