• 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: Scott Mitchell <email@hidden>
  • Date: Thu, 8 Jun 2006 15:04:07 -0600



On Jun 8, 2006, at 2:48 PM, j o a r wrote:


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

Yeah that is what I wanted, but since our Windows counterpart uses a Combo Box for the same thing, we have to sue a Combo box also (Mainly for Documentation and Training purposes). I have argued about this, but it is not worth fighting them about as far as I am concerned. I save the fights for what really matter.

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.



Windows is moronic in it's use of controls that looks like combo- boxes where the functionality provided is actually a pop-up button. You can't tell what type of control it is by looking at it. Only by attempting to enter some text, you'll notice if it's using combo box or pop-up button behaviour.


j o a r



Exactly.

Thanks,
Scott Mitchell
Senior Macintosh Software Engineer
Excelsior Software
http://www.excelsiorsoftware.com



_______________________________________________
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: j o a r <email@hidden>
    • Re: NSComboBox -- How do I limit user typing to what is in the list
      • From: Simon Wigzell <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>)

  • Prev by Date: Re: Changing fonts without font menu?
  • Next by Date: Bindings and a dictionary
  • Previous by thread: Re: 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