Re: Where's the list box?
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