Solved: problem with buttons in toolbar
Solved: problem with buttons in toolbar
- Subject: Solved: problem with buttons in toolbar
- From: Mitchell Livingston <email@hidden>
- Date: Mon, 3 Dec 2007 20:53:08 -0500
Again, I figure this out right after sending. I had to override
menuFormRepresentation:
On Dec 3, 2007, at 8:27 PM, Mitchell Livingston wrote:
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