• 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
Re: double click call textedit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: double click call textedit


  • Subject: Re: double click call textedit
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 25 Jul 2002 16:45:06 +0200

On Thursday, July 25, 2002, at 12:58 , Chong Hiu Pun wrote:

I have a NSTableView which contains a list of filename. How to program the
following?
When I double click on the filename, textedit will be called and display the
file.

See NSTableView.html for how to hook your code to the doubleclick. See its data source for how to get the filename. See NSWorkspace (or NSTask or Services -- depending on the details of intended behaviour) for how to launch other apps.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >double click call textedit (From: "Chong Hiu Pun" <email@hidden>)

  • Prev by Date: Re: What is the purpose of static typing?
  • Next by Date: Re: Proper retain/release etiquette
  • Previous by thread: double click call textedit
  • Next by thread: Non-character as button key equivalent
  • Index(es):
    • Date
    • Thread