• 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: NSBrowser_NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBrowser_NSTextView


  • Subject: Re: NSBrowser_NSTextView
  • From: francois fauteux <email@hidden>
  • Date: Wed, 10 Aug 2005 17:08:39 -0400

Dear Mr. Zitzmann.

I've set the single click action to that:

- (IBAction)browserSingleClick:(id)browser {
    NSString *nodePath = [browser path];
    [[NSWorkspace sharedWorkspace] openFile: nodePath];
}

This only opens anything that is clicked on in the default application
(a folder is opened in Finder for ex.).

I've set the Outlet of AppController to the textView, but I don't know
what message to send in SingleClick to get the file opened in the
textView.

Thank you so very much for your help !

François Fauteux



On 8/10/05, Nick Zitzmann <email@hidden> wrote:
>
> On Aug 10, 2005, at 12:27 PM, francois fauteux wrote:
>
> > How can I set the textView to automatically display the content of a
> > browser selection (say textfile) in the textView upon a single click ?
>
> You can start by setting the browser's single-click action.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSBrowser_NSTextView (From: francois fauteux <email@hidden>)
 >Re: NSBrowser_NSTextView (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Addressing Relationships in awakeFromInsert
  • Next by Date: Spotlight Importers for non-Doc Core Data Application?
  • Previous by thread: Re: NSBrowser_NSTextView
  • Next by thread: Open Recent menu
  • Index(es):
    • Date
    • Thread