Re: Toolbar Item -Menu Form Representation - Key Equivalent

2010-09-21 Thread Richard Somers
On Sep 21, 2010, at 11:54 AM, Kyle Sluder wrote: The real solution is to not create toolbar items without corresponding menu items, as per the HIG: ... This has the added benefit of making it possible to use the inline search field in the Help menu to find and activate the menu item. True, th

Re: Toolbar Item -Menu Form Representation - Key Equivalent

2010-09-21 Thread Kyle Sluder
On Tue, Sep 21, 2010 at 7:07 AM, Richard Somers wrote: > AppKit apparently does not let toolbar menu form representations respond to > key equivalents. The work around is to call 'performKeyEquivalent:' > yourself. The real solution is to not create toolbar items without corresponding menu items,

Re: Toolbar Item -Menu Form Representation - Key Equivalent

2010-09-21 Thread Richard Somers
On Sep 20, 2010, at 9:08 PM, Richard Somers wrote: The key equivalent will not work for a toolbar item, menu form representation. AppKit apparently does not let toolbar menu form representations respond to key equivalents. The work around is to call 'performKeyEquivalent:' yourself. --R

Toolbar Item -Menu Form Representation - Key Equivalent

2010-09-20 Thread Richard Somers
The key equivalent will not work for a toolbar item, menu form representation. The relevant code is NSToolbarItem *item = [[NSToolbarItem alloc] initWithItemIdentifier:identifier]; [item setLabel:label]; [item setPaletteLabel:paletteLabel]; [item setToolTip:toolTip];