• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding a vertical scrollbar to a multiline textfield
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a vertical scrollbar to a multiline textfield


  • Subject: Re: Adding a vertical scrollbar to a multiline textfield
  • From: Graham Cox <email@hidden>
  • Date: Tue, 10 Nov 2009 22:52:27 +1100

On 10/11/2009, at 10:45 PM, Ian Piper wrote:

> 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?


I think this is the best way to do this. However, because NSTextView doesn't inherit NSControl, you might have to provide a few bit of glue code in a category if you want it to work with control-like methods.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Adding a vertical scrollbar to a multiline textfield (From: Ian Piper <email@hidden>)

  • Prev by Date: Re: How can a plug-in bundle get access to its own resources?
  • Next by Date: Re: Adding a vertical scrollbar to a multiline textfield
  • Previous by thread: Adding a vertical scrollbar to a multiline textfield
  • Next by thread: Re: Adding a vertical scrollbar to a multiline textfield
  • Index(es):
    • Date
    • Thread