How to implement to rename the file by single click its name column
How to implement to rename the file by single click its name column
- Subject: How to implement to rename the file by single click its name column
- From: James <email@hidden>
- Date: Tue, 15 Sep 2009 11:12:52 +0800 (CST)
Hi all,
I have implemented to play the music file by double click its name in a table view
using the setDoubleAction: method.
Now, I am in trouble. I want to realize the result that similar to the "name" column
in iTunes. Namely,it will play the music file if user double-clicks on the "name" column.
At the same time, if user single-clicks on the column's file name area, it will highlight the
file name and permit the user to rename the file.
I can implement to play the file by double click its name column only. But I do not know
how to implement to rename the file by single click its name column.
Any help will helpful to me. Thanks for any help.
James
_______________________________________________
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