Ampersands showing on menu labels, instead of mnemonics [message #996703] |
Wed, 02 January 2013 18:05 |
Joel Becker Messages: 14 Registered: December 2012 |
Junior Member |
|
|
Hi,
I have mnemonics defined for all of my menu items, and all but 5 of them work fine. Those other 5 display the & ampersand in the label: e.g. "&New", "&Open" instead of underlining the N and the O. I can't see any difference between these menu items and the others.
My XMI looks like this for the ones showing the &:
<children xsi:type="menu:HandledMenuItem" xmi:id="_HPcMoEnkEeKjOrl5Eoy1DA" elementId="" label="&New" iconURI="platform:/plugin/ui2/icons/BridgePoint_New.png" tooltip="Creates a new election project" mnemonics="" command="_NdVSQEnkEeKjOrl5Eoy1DA"/>
<children xsi:type="menu:HandledMenuItem" xmi:id="_AfdjH0njEeKjOrl5Eoy1DA" label="&Open" iconURI="platform:/plugin/ui2/icons/BridgePoint_Open.png" mnemonics="O" command="_AfdjE0njEeKjOrl5Eoy1DA"/>
<children xsi:type="menu:HandledMenuItem" xmi:id="_wpMmQEnoEeKjOrl5Eoy1DA" elementId="" label="&Delete" iconURI="platform:/plugin/ui2/icons/BridgePoint_Delete.gif" mnemonics=""/>
<children xsi:type="menu:HandledMenuItem" xmi:id="_09rTMEnoEeKjOrl5Eoy1DA" elementId="" label="&Close" iconURI="platform:/plugin/ui2/icons/BridgePoint_Close.png" mnemonics=""/>
And like this for some of the ones where the mnemonics work, not showing the &:
<children xsi:type="menu:HandledMenuItem" xmi:id="_PaABAEnpEeKjOrl5Eoy1DA" elementId="" label="&Import Data" iconURI="platform:/plugin/ui2/icons/BridgePoint_ImportData-PreElection.png" command="_dPKzUEnkEeKjOrl5Eoy1DA"/>
<children xsi:type="menu:HandledMenuItem" xmi:id="_cClroEoJEeK42erLaNAfoQ" elementId="" label="Import I&mages" iconURI="platform:/plugin/ui2/icons/BridgePoint_ImportImages-PreElection.png" mnemonics="" command="_n_DdcEnkEeKjOrl5Eoy1DA"/>
<children xsi:type="menu:HandledMenuItem" xmi:id="_oCucsEoJEeK42erLaNAfoQ" elementId="" label="Edit &Options" iconURI="platform:/plugin/ui2/icons/BridgePoint_EditOptions.png" mnemonics="" command="_ruBCgEnkEeKjOrl5Eoy1DA"/>
I have tried putting the mnemonic letter in the "Mnemonics" field of the menu item editor (in addition to the & in the label), I tried clearing the workspace on launch, and clearing the configuration area on launch. I also am using the -clearPersistedState command line argument. Any ideas?
-Joel
[Updated on: Wed, 02 January 2013 19:30] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05407 seconds