Re: NSComboBox values don't appear
Re: NSComboBox values don't appear
- Subject: Re: NSComboBox values don't appear
- From: Matt Neuburg <email@hidden>
- Date: Tue, 6 Aug 2002 06:40:52 -0700
On Sat, 3 Aug 2002 00:45:04 -0600, Donald Hall <email@hidden> said:
>
I have an NSComboBox with an internal data source that I have set in IB.
>
It is just a list of integers. None of the values appears in the combo
>
box, even if I set one. When I click to activate the menu, the menu
>
appears with no characters showing. However, the number of entries in
>
the menu is correct, and I can select one, even though the entry appears
>
empty. When I query the combo box, I get the correct value. I tried
>
making the combo box larger, but this didn't help.
>
>
Does anyone have any suggestions as to how to make my items appear?
An integer is not an object. The data need to be objects - and they need to
be objects that are readily translated for presentation purposes into
NSStrings, either because they know how to do this or because you've
provided an NSFormatter. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.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.