• 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: NSComboBox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBox


  • Subject: Re: NSComboBox
  • From: Casey McDermott <email@hidden>
  • Date: Wed, 25 Jul 2018 22:40:48 +0000 (UTC)

I forgot to mention that the lists may contain 10,000s of items. Maybe
100,000s. 
Typing to select from NSPopUpButton works OK for short lists.  I just made a
test
popup with 300 items and it's already awkward.  10K would be absurd.

These are business records, and users may data enter hundreds a day.  They want
to tab, type a few letters to select a customer, tab to the next field, type a
bit to
select an inventory item, etc.  Type a customer that doesn't exist and it
should beep
and ignore the keystrokes.  If they need to enter a new customer, it's a
right-click,
then a panel to enter more than just the name.

Our current interface does use popup buttons for some things, but people
complain
about them.  They don't want to take hands off keyboard.  We plan to convert
those
to combo boxes so it can be completely mouseless.

That "disambiguating field" article by Tog may be on one of the developer CDs.
I can't find it online. It explained this use case very well, and interface to
solve it.
It was a major reason why we switched from Excel templates to a C++ app.
NSComboBox is close, but we need it confined to existing items.

Thanks,

Casey McDermott

Turtle Creek Software
http://www.turtlesoft.com
607 220-4514

--------------------------------------------
On Wed, 7/25/18, Jens Alfke <email@hidden> wrote:

 Subject: Re: NSComboBox
 To: "Casey McDermott" <email@hidden>
 Cc: email@hidden
 Date: Wednesday, July 25, 2018, 2:51 PM



 On
 Jul 25, 2018, at 10:45 AM, Casey McDermott <email@hidden>
 wrote:
 The
 goal is to auto-fill an account from what they type, and
 ignore typing if not a match.

 That sounds like the regular behavior
 of NSPopUpButton: after clicking to pop up the menu, you can
 type-select items from it. 
 (Although it doesn't ignore
 mismatches, it just selects the closest item.)
 —Jens
_______________________________________________

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:
    • Re: NSComboBox
      • From: Quincey Morris <email@hidden>
    • Re: NSComboBox
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: NSComboBox
  • Next by Date: Re: NSComboBox
  • Previous by thread: Re: NSComboBox
  • Next by thread: Re: NSComboBox
  • Index(es):
    • Date
    • Thread