Re: TableView Event
Re: TableView Event
- Subject: Re: TableView Event
- From: "I. Savant" <email@hidden>
- Date: Mon, 16 Apr 2007 18:47:47 -0400
On Apr 16, 2007, at 6:35 PM, hac wrote:
I have an NSTableView that I want to trigger an action when the
selected row
is changed. I have no idea how to do this as I've only used event
handling
where I can directly connect the objects in Interface Builder.
Thanks. :)
This is discovered fairly easily by reading the documentation for
NSTableView:
http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/Classes/NSTableView_Class/index.html
... and the Table View Programming Guide that document links to.
A hint: Look for the -tableViewSelectionDidChange: delegate
method. As to IB, hook it up just like anything else in IB -- read
the documentation.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden