NSComboBox allows no selection?
NSComboBox allows no selection?
- Subject: NSComboBox allows no selection?
- From: Carrie Brezine <email@hidden>
- Date: Wed, 12 Feb 2003 16:35:37 -0500
Hello,
I have a comboBox which uses a datasource. I've implemented
- (unsigned int)comboBox:(NSComboBox *)aComboBox
indexOfItemWithStringValue:(NSString *)str
in my datasource. When I type something in the comboBox text field, if
it matches an item in the list, that item is selected, as I hoped it
would be. However, if I type something that is *not* in the list, the
previously selected item remains selected, even though the above method
returns NSNotFound. Is this expected behaviour? Once an item is
selected from a comboBox list, is there any way to make no items
selected? Been searching docs and archives, so far no luck. thanks
for your help.
Carrie
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.