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: Is there someway to disable NSComboBoxCell's drop down menus?



>  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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to 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.