NSComboBox -- How do I limit user typing to what is in the list
NSComboBox -- How do I limit user typing to what is in the list
- Subject: NSComboBox -- How do I limit user typing to what is in the list
- From: Scott Mitchell <email@hidden>
- Date: Thu, 8 Jun 2006 14:28:24 -0600
I have been looking on the Cocoa List, I have not found an answer to
this. I need to limit the user typed text to what is in the list
already. So for example if I have list of say months
January
February
March
April
May
June
July
August
September
October
November
December
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.
Any help would be appreciated.
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