On 2 Jun 2009, at 19:48, archana udupa wrote:
I m havin a list of toolbar.I m working on application similar to winmerge in windows,which shows difference between 2 files.When i click toolbar item Previous difference ma cursor ll move to previous difference.But after it reaches the first difference, i want to disable that toolbar item. How can do that?can i use setEnabled method? If so for wot i should assign? whether for toolbar itemidentifier or toolbar action?
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSToolbarItemValidation_Protocol/Reference/Reference.html _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
