Menu accelerator caption text

Menu accelerator caption text

Post by UGF1bF » Tue, 15 Jun 2004 09:42:01


I would like to display the accelerator "Ctrl+S" or the like along with my custom menu entry.

Documentation says...
Caption specifies the text that appears on a menu or menu item. If you want to display the accelerator with the menu item, include it as part of the Caption property's text and insert two spaces between the "\a" and the accelerator text. For example:
"Open...\a CTRL+O"
That doesn't seem to do it for me.

Anyone got this to work or is there a different way?

Thanks
 
 
 

Menu accelerator caption text

Post by UGF1bH » Tue, 15 Jun 2004 09:43:01

I would like to display the accelerator "Ctrl+S" or the like along with my custom menu entry.

Documentation says...
Caption specifies the text that appears on a menu or menu item. If you want to display the accelerator with the menu item, include it as part of the Caption property's text and insert two spaces between the "\a" and the accelerator text. For example:
"Open...\a CTRL+O"
That doesn't seem to do it for me.

Anyone got this to work or is there a different way?

Thanks