• 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: Is there someway to disable NSComboBoxCell's drop down menus?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there someway to disable NSComboBoxCell's drop down menus?


  • Subject: Re: Is there someway to disable NSComboBoxCell's drop down menus?
  • From: Jack <email@hidden>
  • Date: Thu, 30 Jun 2005 18:46:59 +0200

>  Some rows have a set of allowable values.

Consider a custom NSFormatter as well for your table instead of NSComboBox
if it makes sense.  You can even auto-complete with the formatter and revert
to a default value if a wrong value is entered.

(The only tricky part is getting your NSTableView object in order to ask for
the row being edited, but this can be done through NSApp or subclassing the
formatter and adding a setTableView function and instance.)

Jack Frost
http://www.bruji.com/


 _______________________________________________
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

  • Prev by Date: Suspending main run loop waiting for DO callback
  • Next by Date: Re: AppleScript and plug-ins
  • Previous by thread: Suspending main run loop waiting for DO callback
  • Next by thread: Definition of Apple's own vCard format
  • Index(es):
    • Date
    • Thread