[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

menu-items and :command-key



Thanks to Bill St. Clair I can now parse keystrokes whem there is no window 
open.  However, I would like to indicate these keystrokes in the pull-down 
menus next to their respective commands.  I'm currently just adding these to 
the menu item title.  I have a small problem though.  Since the standard Mac 
menu font is Chicago, a proportional font, the keystroke equivalents do not 
line up very well.  Does anybody have any suggestions for this?

I'd prefer that :command-key took an argument that described the keystroke 
(that is, :COMMAND, :OPTION, :CONTROL or :SHIFT).  However, I'd very happily 
settle for a hack to line up my equivalencies without requiring a different 
font or me spacing it by hand.

	Thanks,
	-Tod


========================================================================
Ford Prefect - Have you been listening to me?
Arthur Dent  - Yes, but I don't think it's helped any.
========================================================================
"Truth then.  Yes, that's it.  It must be Truth.  Above all.  For when a
man lies he murders some part of the world.  You should know that."
			 - Merlin to Arthur in "Excalibur"
========================================================================
Jean -  Henna neko da ne... == Hobbes - Do you believe in God?
Nadia - Raiyon yo!          == Calvin - Well, Somebody's out to get me.
========================================================================
The opinions and statements herein expressed are not those of KBSI and,
if attributable to anyone, are mine.
========================================================================