Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Glyphs for menus



At 3:18 PM +0000 7/31/02, Stefan Pantos wrote:
Hi,
I want to have the arrow keys as the key equivalents for some menu items. Is there an easy way of doing this in interface builder.

I had the same need recently. I could have sworn I'd seen a thread about it, but I couldn't find it on Mamasam. Anyway, here's what I did.

In IB, select the menu item, and double-click on the area on the right end of the menu item where the key equivalent should be displayed. It becomes highlighted with a rectangle. Press Command-arrow and you get what you need. It might take a couple of tries. I found IB sometimes interprets my Command-arrow as "move the selection in IB."

If you can't get this to work, you can also copy-and-paste from the nib file of another application (I used OmniWeb). Select the menu item, go to the Inspector, and copy that funny character in the Attributes pane for the menu item. That's what I did for my left and right arrows, but I've since found that it is possible to type those in directly.

--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Glyphs for menus (From: Stefan Pantos <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.