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

Setting NSTextView


  • Subject: Setting NSTextView
  • From: email@hidden
  • Date: Tue, 10 Oct 2006 13:39:14 EDT

How do you set the text of an NSTextField?

I just want to show the user the Dir path they chose from an open panel, so I
thougt I could do this..

[myFolderField setString: [openPanel filename]];

But it's not working. Looking through the documentation for NSTextView, do I
need to implement a delegate to do this??? textShouldBeginEditing?
 _______________________________________________
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

  • Follow-Ups:
    • Re: Setting NSTextView
      • From: Nick Zitzmann <email@hidden>
    • Re: Setting NSTextView
      • From: Spencer Salazar <email@hidden>
  • Prev by Date: Re: Re: Code injection and replace methods at runtime
  • Next by Date: Re: Setting NSTextView
  • Previous by thread: Re: Simple dialog sheet won't work with return key
  • Next by thread: Re: Setting NSTextView
  • Index(es):
    • Date
    • Thread