Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBoxCell example



On 2005-05-30 21:56, Theodore H. Smith said:

>Don't tell me that NSComboBoxCell is being treated as a plain old
>string?

Yes.  See:
<http://developer.apple.com/documentation/UserExperience/Conceptual/
OSXHIGuidelines/XHIGControls/chapter_18_section_3.html#//apple_ref/doc/
uid/20000957-TP30000359-BAAGGAHH>

>If that is the case, then the I need to modify the behaviour.
>This is because for some (but not all) rows, I want the combobox to
>not allow arbitrary text to be entered, only allowing the values that
>are in the combo's list.

Then in those cases you don't want a combo box at all, you want a pop-up
menu probably:

<http://developer.apple.com/documentation/UserExperience/Conceptual/
OSXHIGuidelines/XHIGControls/chapter_18_section_3.html#//apple_ref/doc/
uid/20000957-TP30000359-TPXREF132>


--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >NSComboBoxCell example (From: "Theodore H. Smith" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.