NSSearchField and custom search menu
NSSearchField and custom search menu
- Subject: NSSearchField and custom search menu
- From: Massimiliano Origgi <email@hidden>
- Date: Fri, 28 Oct 2005 13:16:01 +0200
Hello,
I post here before possibly submitting a bug report.
I have a custom search menu with some items as search categories.
I have bound their value attribute to keys in the current selection of
an array controller so that their state is recorded and restored as
needed.
The problem is that the binding does not work. I have checked it and
have added observers and the result is that the bound value is not
updated when the user selects the menu item and the item state isn't
updated too. It works if I go through the traditional action method and
update the state manually.
Also trying to bind other keys such as the title fails too, the binding
is completely ignored.
So apparently the search field is playing with the menu and removing
the bindings (at least it changes the menu font as well as updates the
search list).
Or it makes a copy of the menu unlike what the docs say.
Has anyone else noticed this?
Thanks!
Massimiliano Origgi
http://www.intuiware.com
Coming Soon...
_______________________________________________
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