Is there someway to disable NSComboBoxCell's drop down menus?
Is there someway to disable NSComboBoxCell's drop down menus?
- Subject: Is there someway to disable NSComboBoxCell's drop down menus?
- From: "Theodore H. Smith" <email@hidden>
- Date: Thu, 30 Jun 2005 14:57:36 +0100
In this app I'm working on, I have some comboboxes, in an
NSTableView. Because they are in an NSTableView, I must use
NSComboBoxCell for every row of the column, despite that sometimes
NSComboBoxCell is overkill.
Some rows have a set of allowable values. Some rows let the user
enter any value. For the restricted value range, the combobox is
perfect.
However, when the user can enter any value, the NSComboBoxCell is
superfluous. The drop down menu contains zero items in such a case.
This is ugly, and also slows the user down when he presses the menu
by accident.
Is there someway to disable NSComboBoxCell's drop down menus?
I can't find any documentation on how to do this. Would I need to
resort to undocumented features? (or maybe just leave it as is). Or
is there some normal way to do this that I'm overlooking?
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
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