When the Windows setting "Underline access keys when available" is disabled, pressing Alt underlines the access keys but does not show the focus rectangle.
Example:
Open the 64-bit version of Total Commander
Use the mouse to open Search (in the buttonbar click on the button with the binoculars icon)
Press Alt+X and Alt+R a couple of times and notice no focus rectangle is visible
Press the Tab key, the focus rectangle becomes visible
Press Alt+X and Alt+R a couple of times and notice the focus rectangle is visible
I have checked this in the Lazarus library sources:
- Pressing Alt enables underlined characters
- Pressing one of the keys left, right, up, down or tab enables the focus rectangle
This is also explained in the link you posted.
Should I enable both for all of these hotkeys (like the 32-bit version), or do as they suggest in the above thread (enable both only for Alt)?
ghisler(Author) wrote: 2023-11-14, 16:13 UTC
Should I enable both for all of these hotkeys (like the 32-bit version), or do as they suggest in the above thread (enable both only for Alt)?
"Enable both only for Alt" seems to be the Microsoft way, that's how it works in the classic Windows programs, TC installers, and in the print and print setup dialogs in TC. Whatever you choose, I suggest to make the 32-bit version and 64-bit version behave the same way.
HISTORY.TXT wrote:
15.11.23 Fixed: Dialog boxes: Pressing Alt now enables both both underlined hotkeys and focus rectangles. Tab or one of the cursor keys only enables focus rectangles now (32/64)
Tested OK using TC 11.03rc1 32-bit and 64-bit.
Moderator message from: white » 2024-01-18, 18:19 UTC