i have created one aplication in which i have implemented custom toolbar and i have put custom item in that tool bar but i cant able to click on that.its show its disable.how to solve this problem.
A:
Implement the NSToolbarItemValidation
protocol in your NSToolbar
's delegate, and return NO
for every NSToolbarItem
that you want disabled (return YES
to enable it).
Dave DeLong
2010-05-24 16:34:58
A:
If toolbar buttons are disabled by default and you haven't implemented NSToolbarItemValidation, it's usually because you have forgotten to connect the buttons to IBActions, or you have but you haven't implemented the actions.
JeremyP
2010-05-25 13:59:17