• 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
How to implement to rename the file by single click its name column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to implement to rename the file by single click its name column
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: testing ppc on intel
  • Next by Date: Re: Need -[NSTask waitUntilExitOrTimeout:] (was NSTask "Thread Unsafe"...)
  • Previous by thread: Re: Shutdown/Restart computer
  • Next by thread: Re: How to implement to rename the file by single click its name column
  • Index(es):
    • Date
    • Thread