Re: changing the text in an NSTextField
Re: changing the text in an NSTextField
- Subject: Re: changing the text in an NSTextField
- From: Robert Fischer <email@hidden>
- Date: Tue, 1 Jul 2003 16:12:25 +0200
On Tuesday, July 1, 2003, at 03:28 PM, Michael George wrote:
I have looked at the methods available for NSTextField and I cannot
find anything which does this. NSTextView seems to be more amenable
to changing the string, but IB doesn't have an object for that.
Please go up the inheritance chain (NSTextField : NSControl : NSView :
NSResponder : NSObject) in the documentation and you'll find "-
(void)setStringValue:(NSString *)aString" very soon.
Cheers,
Robert
--
--- - .-. -- --
--- / \ ---- tin:b Software
.-. / \ --- .-. __o .-. (i)
/ \ / \ / \ _`\<,_ / \ Robert Fischer
/ \ / \ / \ (*)/ (*) / `---------------
/ `---' `-' `-----------'
_______________________________________________
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.