Re: 'Customize Toolbar...' menu item disabled
Re: 'Customize Toolbar...' menu item disabled
- Subject: Re: 'Customize Toolbar...' menu item disabled
- From: mark <email@hidden>
- Date: Mon, 17 Oct 2011 06:10:11 +1300
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)?
Yes.
Connected to Sent Actions - 'First Responder ---
toggleToolbarShown:' & 'First Responder ---
runToolbarCustomizationPalette:'
_______________________________________________
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