Setting NSTextView

  • 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?
  • On Oct 10, 2006, at 1:39 PM, <PRzeznik...> wrote:

    > How do you set the text of an NSTextField?

    setStringValue

    > Looking through the documentation for NSTextView,

    there is your problem--NSTextView and NSTextField are two completely
    different classes.  which one are you trying to set the value of?

    spencer
  • On Oct 10, 2006, at 11:39 AM, <PRzeznik...> wrote:

    > How do you set the text of an NSTextField?

    -setStringValue:.

    Nick Zitzmann
    <http://www.chronosnet.com/>
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today