ADC Home > Reference Library > Technical Q&As > Cocoa > User Experience >
|
Q: In Mac OS X 10.1.x, my Cocoa app crashes if I have more than one disabled but editable NSComboBox in a view and I click on one of them. How can I prevent this? A: This is a bug that should be fixed in the next major release of Mac OS X. The workaround is fairly straightforward - use a subclass of NSComboBox that overrides -acceptsFirstResponder like Listing 1 demonstrates.
[Jun 03 2002] |