• 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 -- How do I limit user typing to what is in the list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBox -- How do I limit user typing to what is in the list


  • Subject: Re: NSComboBox -- How do I limit user typing to what is in the list
  • From: j o a r <email@hidden>
  • Date: Thu, 8 Jun 2006 22:33:44 +0200


On 8 jun 2006, at 22.28, Scott Mitchell wrote:

So if the user types "J" it selects January, but then if the user types "Ju" it selects June. That all works fine by turning on the [combobox setComplets:YES]. But if the user
types say "Q" nothing gets put in the edit field. I don't want the user to be able to type anything that is not in the list.

How about using a regular pop-up button? If you want to allow for the user to "type-ahead", then direct them to the "full keyboard access" functionality of the keyboard shortcuts section of system preferences.


j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: NSComboBox -- How do I limit user typing to what is in the list
      • From: Scott Mitchell <email@hidden>
References: 
 >NSComboBox -- How do I limit user typing to what is in the list (From: Scott Mitchell <email@hidden>)

  • Prev by Date: NSComboBox -- How do I limit user typing to what is in the list
  • Next by Date: Re: NSComboBox -- How do I limit user typing to what is in the list
  • Previous by thread: NSComboBox -- How do I limit user typing to what is in the list
  • Next by thread: Re: NSComboBox -- How do I limit user typing to what is in the list
  • Index(es):
    • Date
    • Thread