Skip navigation.
 
mlRe: NSComboBox -- How do I limit user typing to what is in the list
FROM : Scott Mitchell
DATE : Thu Jun 08 22:43:21 2006

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.

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


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

>
> 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
>
>