Re: Why are my toolbar items disabled?
Re: Why are my toolbar items disabled?
- Subject: Re: Why are my toolbar items disabled?
- From: Ronald Jaramillo <email@hidden>
- Date: Wed, 23 Jul 2003 18:59:15 +0200
You can start by checking a couple of issues which I seam to always
forget:
- designate the toolbar delegate when you set up the toolbar
- Implement and return yes (when appropriate) to the "
validateToolbarItem: " method
- Control that the selector you assign to your ToolbarItem is spelled
the same way as the corresponding method:
[toolbarItem setAction: @selector(methodName:)]; == -
(IBAction)methodName:(id)sender;
/mvh
Ronald Jaramillo
On Wednesday, July 23, 2003, at 06:28 PM, John Lombardo wrote:
Is anyone here aware of any circumstances under which all my toolbar
items
would be disabled? I've just created a dictionary of dummy
NSToolbarItems,
and whilst they all appear in the toolbar and customization palette,
they
become disabled the moment they are dropped into the toolbar.
Anyone out there with more clues than me?
Cheers,
John
_______________________________________________
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.
_______________________________________________
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.