Re: 'Customize Toolbar...' menu item disabled
Re: 'Customize Toolbar...' menu item disabled
- Subject: Re: 'Customize Toolbar...' menu item disabled
- From: Michael Babin <email@hidden>
- Date: Sun, 16 Oct 2011 10:06:44 -0500
On Oct 15, 2011, at 3:47 PM, mark wrote:
> I have a nib based toolbar in a window.
> I have set the customise toolbar flag to YES (in IB and programmatically).
> I have set the View menu items 'Customise Toolbar...' and 'Hide/Show Toolbar' to the first responder as directed in the documentation.
> I have implemented the delegate protocols -toolbarAllowedItemIdentifiers: & -toolbarDefaultItemIdentifiers: .
> I have set the delegate of the toolbar.
>
> The 'Customise Toolbar...' and the Hide/Show menu items are both disabled.
> And all the menu items in the toolbar's contextual menu (except for Remove Item) are disabed.
>
> The toolbar shows up in the window and all the toolbar items work as expected.
>
> How do I get the menu items enabled? What am I missing?
For your "Show Toolbar" and "Customize Toolbar…" menu items, did you select the appropriate actions (toggleToolbarShown: and runToolbarCustomizationPalette:, respectively)?_______________________________________________
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