Ovg wrote:When Ultraedit starts (Windows 7 option not being enabled) there is not any underscored letters in menu until Alt key is pressed. But if I press Alt key again or click mouse and execute any menu item, underscores will disappears.
Yes, but that is the normal behavior with the Windows 7 option not being enabled. Wrong was in UE 20.00.0.xxxx before build UE 20.00.0.1052 that the underlines disappeared forever until UltraEdit was restarted.
The normal behavior with the underlines is that with pressing and releasing left
Alt key, the input focus change from the document area to the main menu. This is indicated by caret not blinking anymore in document area and instead first item in main menu is displayed with a box, see on the attached collage upper red arrow. Now it is possible to
- use the cursor keys to navigate through the menus and press RETURN or ENTER to execute a menu command
- just press the keys of the underlined characters of a menu item to activate the menu or execute the menu command. It is not necessary anymore to press and hold the Alt key. The main menu has already the input focus.
But pressing now just left
Alt key results in switching back the input focus from main menu to document window. This is indicated by closing an opened submenu, removing the box from the menu item and caret is blinking again in the active document window, see on the attached collage lower red arrow.
Most people think that the left
Alt key must be pressed and hold while additionally the key of the underlined character is pressed also to execute a menu command, or in a dialog like the Find dialog to change a check box item or switch to another radio option or set input focus to an edit field. But that is not true. Just the key of the underlined character is enough if the menu or any non edit field in a dialog window has already the input focus. For example in English UltraEdit after opening the Find dialog and pressing once the TAB key to move away the input focus from the Find What edit field to first button above, just pressing key
m is enough to toggle the
Match case. It is not necessary to press Alt+M, just M is now enough.
That's the reason why I have enabled the Windows 7 option to always display the underlines as I know that I do not need to press and hold
Alt key when input focus is already on main menu or the dialog window.
Another example: Alt+V is pressed to open menu
View. Most people think now that the
Alt key must be hold to open with Alt+V the submenu
Views/Lists and execute with Alt+F the command
Function List. But that is not true. With Alt+V the main menu gets the input focus and addtionally the menu
View is already opened. Now there is no need anymore to hold
Alt key.
Alt key can be released already now. Pressing just
v opens now the submenu
Views/Lists and pressing just
f executes the command
Function List.
Summary: Windows standard behavior is that the underlines are displayed only when pressing just the key of an underlined letter is enough to activate a menu item, menu command or an item in the configuration dialog. With pressing and holding left
Alt key a user can force the display of the underlines even if the main menu or the dialog window itself has not the input focus. The underlines are not displayed anymore when input focus on main menu or dialog window is lost by a mouse click anywhere else, or by executing a command, or by setting input focus to an editable area, or the left
Alt key is just released without activating any item.
The problem with UE v20.00.0.xxxx < v20.00.0.1052 was that for example after first
Alt+E,
p to execute in menu
Edit the command
Paste, the next pressing and holding of left
Alt key did not result again in displaying the underlines in main menu. Once a command was executed with any method, the underlines disappeared forever until UltraEdit was restarted, even when the command was executed directly with the hotkey like Ctrl+V for the paste command.