• 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
Scrolling a NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scrolling a NSTextField


  • Subject: Scrolling a NSTextField
  • From: JECKER Frédéric <email@hidden>
  • Date: Fri, 25 Sep 2009 17:04:51 +0200

Hi,
I have an non-editable/selectable NSTextField which content is set
programatically (and the field's layout attribute is set to "Scroll").
Now when the field is filled, the overflow text is not displayed despite the
"Scroll" attribute.
When turning the fied selectable/editable this works fine : as soon as the
content is bigger than the field's size,
its content is immediately scrolled to the cursor position.

Is there a way to perform this behaviour manually ?

Thanks
_______________________________________________

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

  • Prev by Date: Re: Advice on debugging a GC related crash
  • Next by Date: Re: Correct way to tell if a path is to a .bundle?
  • Previous by thread: proper technique for CoreData SQLite fetch with sort descriptors
  • Next by thread: Subclass of NSView not responding to mouseDown event
  • Index(es):
    • Date
    • Thread