Re: NSComboBox bug?
Re: NSComboBox bug?
On Thu, Oct 31, 2002 at 11:29:52AM -0800, matt neuburg wrote:
>
>Nope, it's a bug that's been there since 10.0. You can't have a combo
>
>box with a formatter if you want the combo box to work.
>
>
Piffle. Formatters work perfectly well with comboboxes; I use them
>
all the time. A combination of a formatter and a datasource is a
>
very powerful way to run a combobox.
It would be lovely if it were documented somewhere.
My bug report with Apple remains open, so I assume they also consider
this behavior to be a bug. In the specific case of Pester, I want to
complete with dates, not numbers, and I don't want the formatter to
apply to the dates because I want them represented as human-readable
dates (e.g. "tomorrow" instead of "1/11/02").
>
The problem with the above example is that an NSNumberFormatter
>
expects numeric values, but "0", "1" and so forth aren't numbers;
>
they're strings. m.
This makes it impossible to edit the combo box list from IB - again,
this is not documented.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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.