Posted by: Sören Gellendin
english -> deutsch
Ctrl -> Strg
Shift -> Umschalt
Enter -> Eingabe
.
.
etc.
Posted by: Sören Gellendin
Code: Select all
Menu Item: Menu &One Ctrl+O
Code: Select all
Menu Item: Menu &One Strg+O
Code: Select all
Set hMenu = VisMenuGetHandle( hWndForm )
Set hPopupMenu = VisMenuGetPopupHandle (hMenu, 0 )
Set nMenu = 0
Set nMenusTotal = VisMenuGetCount( hPopupMenu )
While nMenu < nMenusTotal
Set sText = VisMenuGetText( hWndForm, hPopupMenu, nMenu )
Set sText = VisStrSubstitute( sText, "Ctrl+", "Strg+" )
Call VisMenuSetText( hWndForm, hPopupMenu, nMenu, sText )
!
Set nMenu = nMenu+1
Yes, this is exactly what I want for the menu of my MDI-Window.Jeff Luther wrote: ↑30 May 2017, 19:39Let me be sure I understand what you want: You wan to change a menu accelerator prompt, like "Ctrl+F" to "Strg+F". Is this what you want?
You are right, changing the menu text does not effect the accelerator.
Yes, this works. Now my menu has "German" keyboard shortcuts and the accelerators are still valid.
Users browsing this forum: [Ccbot] and 0 guests