• 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: Fri, 9 Jun 2006 00:04:28 +0200


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

Hm... Well, it's not unlikely that you could get what you're looking for by implementing the "-comboBox:completedString:" and / or "-comboBox:indexOfItemWithStringValue:" data source methods.

Yeah I already tried these, and it does not work correctly, it puts in the text anyway even if nothing matches.

OK, so perhaps you could replace the field editor and validate the input before it reaches the combo box?


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

References: 
 >NSComboBox -- How do I limit user typing to what is in the list (From: Scott Mitchell <email@hidden>)
 >Re: NSComboBox -- How do I limit user typing to what is in the list (From: j o a r <email@hidden>)
 >Re: NSComboBox -- How do I limit user typing to what is in the list (From: Scott Mitchell <email@hidden>)
 >Re: NSComboBox -- How do I limit user typing to what is in the list (From: j o a r <email@hidden>)
 >Re: NSComboBox -- How do I limit user typing to what is in the list (From: Scott Mitchell <email@hidden>)

  • Prev by Date: Re: 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: Re: NSComboBox -- How do I limit user typing to what is in the list
  • Next by thread: Bindings and a dictionary
  • Index(es):
    • Date
    • Thread