problem with buttons in toolbar
problem with buttons in toolbar
- Subject: problem with buttons in toolbar
- From: Mitchell Livingston <email@hidden>
- Date: Mon, 3 Dec 2007 20:27:31 -0500
Hello,
I have toolbar items with the view set to a button. I overrided
NSToolbarItem's validate: method to:
- (void) validate
{
[self setEnabled: [[self target] validateToolbarItem: self]];
}
Besides that it's the standard toolbar item. The buttons work fine
when showing the icon, and validate correctly. However, when set to
text-only they all stay disabled. I cannot figure out how to get them
to validate and enable. Any help would be appreciated.
Thanks,
Mitchell Livingston
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden