On 23/10/2008, at 10:39 AM, Graham Cox wrote:

I can place a toolbar in my window, and I can add items to it. I can set the delegate outlet of the toolbar to my document controller.

What I can't do is to tie any outlets to the toolbar items or set any actions or targets for the items. IB's interface doesn't even let me select the items individually, and I cannot assign my own identifiers to them.


In the "Allowed Toolbar Items" sheet that appears when you double- click the toolbar, select one of the toolbar items and then click it again. You can then access the bindings, target and action settings for the actual toolbar control rather than the toolbar "item". You must set up the object in the Allowed Toolbar Items sheet, not in the toolbar itself.

--
Rob Keniger



_______________________________________________

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]

Reply via email to