• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSComboBox bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBox bug?


  • Subject: Re: NSComboBox bug?
  • From: Nicholas Riley <email@hidden>
  • Date: Thu, 31 Oct 2002 12:01:34 -0600
  • Mail-followup-to: Stéphane Sudre <email@hidden>, email@hidden

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.

References: 
 >NSComboBox bug? (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: cocoa-dev digest, Vol 2 #1458 - 16 msgs
  • Next by Date: Re: metallized interface
  • Previous by thread: NSComboBox bug?
  • Next by thread: NSComboBox bug?
  • Index(es):
    • Date
    • Thread