• 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: Where's the list box?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where's the list box?


  • Subject: Re: Where's the list box?
  • From: Dustin Voss <email@hidden>
  • Date: Fri, 11 Mar 2005 12:07:32 -0800

On 11 Mar, 2005, at 10:10 AM, Robert Brown wrote:

Thanks for all the replies... I've looked at both the NSBrowser and NSTableView. Both seem to be a bit of overkill for my application. This document:

http://developer.apple.com/documentation/UserExperience/Conceptual/ OSXHIGuidelines/XHIGControls/chapter_10_section_6.html#//apple_ref/ doc/uid/TP30000359/TPXREF114

mentions a "scrolling list." That's the sort of thing I want... exactly like their example. I can see how both an NSTableView and NSBrowser could do this, but does a simple NSScrollingList or something exist?

Just so you know, neither one of them implements all the keyboard shortcuts: Home, Cmd-Up, etc.


You can sub-class them and add that functionality, however, by overriding keyDown:, calling interpretKeyEvents: on the event, and implementing the appropriate responder method. See http://cocoa.mamasam.com/COCOADEV/2002/07/2/40890.php.

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


References: 
 >Where's the list box? (From: Robert Brown <email@hidden>)
 >Re: Where's the list box? (From: Daryl Thachuk <email@hidden>)
 >Re: Where's the list box? (From: Dan Saul <email@hidden>)
 >Re: Where's the list box? (From: Robert Brown <email@hidden>)

  • Prev by Date: Re: Where's the list box?
  • Next by Date: Re: Where's the list box?
  • Previous by thread: Re: Where's the list box?
  • Next by thread: Newbie: setting a delegate to NSWindow
  • Index(es):
    • Date
    • Thread