• 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
NSComboxBox does not keep scrolled‏
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSComboxBox does not keep scrolled‏


  • Subject: NSComboxBox does not keep scrolled‏
  • From: FirstName LastName <email@hidden>
  • Date: Tue, 8 Feb 2011 00:07:19 +0000
  • Importance: Normal


Hello,


I have a selectable non-editable NSComboBox that displays a path chosen via a NSOpenPanel. Its list is used as a history of the most recently selected paths. I use its field editor's scrollRangeToVisible method to scroll the path so that the file name and extension are visible. However, as soon as the user selects another field the scrolling is lost, displaying only the leftmost part of the path. I presume this is by design since there's only one field editor for the window. If so, is there an alternative way to accomplish this? If not, could you please show the right way of doing this.

Survivor
_______________________________________________

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

  • Follow-Ups:
    • NSComboxBox alternative
      • From: FirstName LastName <email@hidden>
  • Prev by Date: Global HotKey
  • Next by Date: Re: why does UIScrollView call layoutSubviews every time it scrolls?
  • Previous by thread: Re: Global HotKey
  • Next by thread: NSComboxBox alternative
  • Index(es):
    • Date
    • Thread