Re: Problem with NSComboBox and Formatter
Re: Problem with NSComboBox and Formatter
- Subject: Re: Problem with NSComboBox and Formatter
- From: Chuck Pisula <email@hidden>
- Date: Thu, 28 Feb 2002 15:08:29 -0800
Make sure the values you are providing to the popup part are NSNumbers
and not NSStrings. I guess the thing that's happening is that
NSNumberFormatter only formats numbers, and not strings that are
actually representations of numbers. Depending on your view, this seems
reasonable... But you might file a bug if you don't think it is
reasonable.
-chuck
On Wednesday, February 13, 2002, at 06:14 AM, Ronaldo Nascimento wrote:
I have a NSComboBox that is assigned a formatter for positive numbers
greater than 0.
The combo box does not show any of the numbers in the popup menu, if i
add
them via code or the IB. But the TextView portion works fine.
In fact the combo box allows me to hilite/select portion of the popup
menu,
but no value is stored there. Is there something I am missing?
Thanks
--
Ronaldo Nascimento
Senior VP of Technology, NetProof(r) Solutions
http://www.netproof.com/
_______________________________________________
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.
_______________________________________________
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.