Re: NSTableView - Open Panel on Double Click
Re: NSTableView - Open Panel on Double Click
- Subject: Re: NSTableView - Open Panel on Double Click
- From: "john chen" <email@hidden>
- Date: Wed, 20 Feb 2008 22:59:58 -0600
You can set doubleAction to open the panel. Hope that helps.
--John
On 2/20/08, Grant Limberg <email@hidden> wrote:
>
> I'm relatively new to Cocoa and haven't been able to find much of an
> answer to what I'm trying to do.
>
> I'm working on a Core Data app (not document based). In the
> MainMenu.nib, there's an NSTableView. What I'd like to have happen is
> when a user double clicks on a row, similar to how iTunes opens up an
> ID3 Tag editor panel when you double click on a song.
>
> The panel I'd like to open is also part of MainMenu.nib called
> EditorPanel. Is there a way set the EditorPanel as the target of the
> Double Click Target on the Table View Bindings pane? Or is this
> something that can only be done with code?
>
> Any pointers on accomplishing this are much appreciated.
>
> Thanks in advance,
>
> Grant Limberg
> email@hidden
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please 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
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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