• 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
Adding a vertical scrollbar to a multiline textfield
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding a vertical scrollbar to a multiline textfield


  • Subject: Adding a vertical scrollbar to a multiline textfield
  • From: Ian Piper <email@hidden>
  • Date: Tue, 10 Nov 2009 11:45:27 +0000

Hi all,

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?


Ian. --

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: iLife Media browser
  • Next by Date: How to specify System Headers Directories?
  • Previous by thread: Re: Bundle for local html files
  • Next by thread: How to specify System Headers Directories?
  • Index(es):
    • Date
    • Thread