• 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: NSComboBoxCell example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBoxCell example


  • Subject: Re: NSComboBoxCell example
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 31 May 2005 10:19:38 -0400
  • Organization: Rogue Research

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:

This email sent to email@hidden

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

  • Prev by Date: Replacing the default-hyphenator in the cocoa-textsystem
  • Next by Date: Re: Renaming issues
  • Previous by thread: Re: NSComboBoxCell example
  • Next by thread: NSTreeController and NSBrowser
  • Index(es):
    • Date
    • Thread