Re: ToolBarItem Validation
Re: ToolBarItem Validation
- Subject: Re: ToolBarItem Validation
- From: Mike Abdullah <email@hidden>
- Date: Wed, 9 Aug 2006 13:04:18 +0100
You haven't used setAutovalidates: on the toolbar item to turn off
automatic validation at some point have you?
Mike.
On 9 Aug 2006, at 07:38, Apparao wrote:
Hello All,
I am working on ToolBar Item validation. Basically it is a view
item, so for validating i wrote one NSToolBarItem subclass, in that
i override validate method like below:
- (void)validate
{
// [self setEnabled:NO];
NSLog(@"%@:%@", NSStringFromClass([self class]),
NSStringFromSelector(_cmd));
}
But the problem is, this method is not gets called. Am i missing
something here.
Any suggestions will be appreciated.
Regards
Apparao.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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