C
Cookville
Has anyone had experience with displaying the accelerator (F10 or CTRL+V,
etc) to menu items? All I get is the menu text and the "\a" literal. The
menu displays exactly like it's quoted as if Visio does not see the \a
escape code.
DVS states the following:
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"
In this example, "Open..." is the menu item's caption; "CTRL+O" is the
accelerator text; and "\a" left justifies the accelerator text. Adding the
accelerator text to the Caption property doesn't add an accelerator, it
simply displays it as part of the caption. You add accelerators by using the
accelerator objects in the Visio object model.
etc) to menu items? All I get is the menu text and the "\a" literal. The
menu displays exactly like it's quoted as if Visio does not see the \a
escape code.
DVS states the following:
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"
In this example, "Open..." is the menu item's caption; "CTRL+O" is the
accelerator text; and "\a" left justifies the accelerator text. Adding the
accelerator text to the Caption property doesn't add an accelerator, it
simply displays it as part of the caption. You add accelerators by using the
accelerator objects in the Visio object model.