• 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: Select-by-typing in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Select-by-typing in NSTableView


  • Subject: Re: Select-by-typing in NSTableView
  • From: Sam Goldman <email@hidden>
  • Date: Fri, 08 Mar 2002 04:48:17 -0800

Dan,

You would most likely have an easier time writing this yourself. All you
need to do is respond to keyDown: (and put your view in the responder chain,
of course) and as you get the key events (with an optional reset timer) find
the first row to match. If you need, I'll write up an example for you (I am
board).

If you knew all that, then I am sorry if I assumed otherwise...

- Sam

On 3/8/02 4:40 AM, "Dan Bernstein" <email@hidden> wrote:

> Is there an existing, open-source, NSTableView subclass that allows
> selection by typing the first few letters (a-la-Finder or the classic
> List Manager, IIRC)?
>
> If not - I think I'll write one myself. I suppose I'll define an
> additional data-source method to return the row index of the first item
> matching a prefix. Any idea on the best way to get the keyboard timing
> values (repeat rate and delay until repeat)?
>
> TIA,
> -- Dan Bernstein
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.

--
Windows is a 32-bit patch to a 16-bit shell for an 8-bit operating system
written for a 4-bit processor by a 2-bit company without 1 bit of sense.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Select-by-typing in NSTableView
      • From: Dan Bernstein <email@hidden>
References: 
 >Select-by-typing in NSTableView (From: Dan Bernstein <email@hidden>)

  • Prev by Date: Re: How do I link a menu item to 'any' method in my WindowController?
  • Next by Date: Re: Saving arbitrary types as property list
  • Previous by thread: Select-by-typing in NSTableView
  • Next by thread: Re: Select-by-typing in NSTableView
  • Index(es):
    • Date
    • Thread