Responding to a double-click in a table
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