Re: NSTextView question...
Re: NSTextView question...
- Subject: Re: NSTextView question...
- From: Cameron Hayne <email@hidden>
- Date: Mon, 06 Oct 2003 21:49:50 -0400
On Sunday, October 5, 2003, at 07:38 PM, Alex Lock wrote:
>
I want to be able to dynamically put text in a text field, but I do
>
NOT want said field to be editable. It seems when disabling
>
editability in IB it also makes the textView insertString: message
>
stop working. So, how does one accomplish this seemingly easy goal?
Maybe you have to turn on editability (as others have suggested) if you want
to use insertString, but you don't need to do so if you use setStringValue.
I have an NSTextField which is enabled but not editable and I use
setStringValue to set its value programmatically (in the action for a
stepper that increases & decreases a parameter value in steps).
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
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.