changing the text in an NSTextField
changing the text in an NSTextField
- Subject: changing the text in an NSTextField
- From: Michael George <email@hidden>
- Date: Tue, 1 Jul 2003 09:28:54 -0400
I have an interface which I've built with IB. I have a pair of buttons
with text preceding them and I would like to programmatically change
that text on the screen depending on what the buttons will be
indicating.
I don't want the text editable or even selectable, I just want to
change the string/title and be able to affect the change to the screen.
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.
It seems a very simple thing to want to do, so I'm guessing that the
way I think it would be done is not the way it *should* be done and
that if I find the "Cocoa way" it will be very straightforward...
Thanks!
-Michael
_______________________________________________
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.