Am 10.11.2009 um 12:45 schrieb Ian Piper:
> I hope someon can advise as to the best way to do what I want. I have a
> multiline textfield that receives a very long piece of text. I wanted to add
> a vertical scrollbar. I tried putting the multiline textfield inside a scroll
> view but I'm not sure how you would tell the latter when to provide a
> scrollbar. Presumably the textfield has to be a descendant of the scrollview
> but I thought that putting one inside the other would do that.
>
> I also tried to use a textview but in that case I got an error saying that
> NSTextView may not respond to setStringValue.
>
> What is the best way to do this?
Read the docs of NSTextView and understand how you set its text content.
atze
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]