Re: NSComboBox bug?
Re: NSComboBox bug?
On Thu, Oct 31, 2002 at 05:56:28PM +0100, Stiphane Sudre wrote:
>
Before filing a bug report on NSComboBox, I would like to know if this
>
is not the designed behavior.
>
>
In IB I have a NSComboBox, whose menu is:
>
>
0
>
1
>
2
>
3
>
4
>
>
The NSComboBox has a NSNumberFormatter attached to it that only allows
>
number between 0 and 65535.
>
>
When I run this in IB, the Menu is displaying empty lines.
>
>
When I run this in the Application, the Menu is displaying empty lines.
>
>
Is this the expected/designed behavior or not?
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. What I've
done to work around this in my Pester app
(
http://web.sabi.net/nriley/software/#pester) is to put an
NSPopUpButton behind an NSTextField. The visual appearance is the
same on 10.1.x, unfortunately a little different under 10.2.x.
--
=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.