NSSearchField problem under 10.3
NSSearchField problem under 10.3
- Subject: NSSearchField problem under 10.3
- From: Alan Dail <email@hidden>
- Date: Thu, 30 Jun 2005 15:01:08 -0400
I developed a view with an NSSearchField in 10.4 that is having a
strange problem running in 10.3. I have a menu created in interface
builder, who's items are connected to methods of my view controller
class. In 10.4, these menu items are active, in 10.3, they are
disabled. Everything else works in my view except for this and I can
find nothing in the documentation to explain the difference. If it
matters, this is a Cocoa dialog I am calling from a MacApp based
carbon app. We are using many different Cocoa views, and this is the
only major problem we have run into (other than not being able to tie
the dialogs to the menu bar, which is an annoyance we haven't solved
yet either).
Another thing about our using NSSearchField, I've found that to
update the checkmarks, I have to first update my menu, then call
[[searchField cell] setSearchMenuTemplate:menu];
to actually update the menu. This is despite the fact that we are
not currently supporting recent searches. Is this the correct way to
do this, or is it possible to check/uncheck the items in this menu
directly.
Alan
_______________________________________________
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