Search Field MenuItem Enabling
Search Field MenuItem Enabling
- Subject: Search Field MenuItem Enabling
- From: Seth Willits <email@hidden>
- Date: Sat, 3 Apr 2004 18:34:50 -0800
I'm having trouble getting a menu item in my search field's menu to
enable. I set an outlet in a controller to point to this specific menu
item. When the search field is added to the toolbar, I set the target
and action to the controller. Now from what I've read, as long as the
target is not nil and the action is implemented, the menu item should
be enabled, but it's always disabled. I originally tried setting the
target/action in the nib, but it didn't work and then I went this
route. I've stepped through with the debugger and when it sets the
target and action, the menu item is definitely not nil, so I'm not
sending messages to the middle of nowhere and thinking it's working, it
actually isn't.
Does anyone have any ideas? Is there perhaps an example of adding a
menu item to a search field's menu somewhere?
Thanks,
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software -
http://www.freaksw.com
REALbasic Guru at ResExcellence -
http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central -
http://www.freaksw.com/rbgames
"When you are courting a nice girl an hour seems like a second. When you
sit on a red-hot cinder a second seems like an hour. That's
relativity."
-- Albert Einstein
------------------------------------------------------------------------
---
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.