CTRL-@ added to dynamic sub-menu/menu-item label

Posted by Richard.Kelters on 27-Jan-2017 17:37

I replaced a static menu with dynamic but some labels in the main menu get 'CTRL-@' added that did not show when static. My enviroment: character mode on Windows 11.6.3 and Linux 11.3.2 both 64-bit.

How can I remove 'CTRL-@' from the labels?

Menu looks like this:

Factuur CTRL-@

Export  CTRL-@

- Data export

- Volumeexport

Promille

Configuratie    CTRL-@

- Email configuatie

Afsluiten

Posted by Richard.Kelters on 28-Jan-2017 05:57

I solved my problem. Instead of assigning the menu to default-window:menu-bar in the class I exposed a property in the class and do the assignment in the .w itself.

All Replies

Posted by Matt Gilarde on 27-Jan-2017 19:09

Are the menu items supposed to have accelerators? If so, what accelerators should be on the menu items which are now showing Ctrl-@?

Posted by Richard.Kelters on 28-Jan-2017 04:08

No accelerators are defined. Menu is created from a class but I can't imagine that would be a problem.

Posted by Richard.Kelters on 28-Jan-2017 05:57

I solved my problem. Instead of assigning the menu to default-window:menu-bar in the class I exposed a property in the class and do the assignment in the .w itself.

This thread is closed