🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.migration
4 messages
4 total messages Started by Warren Stewart Thu, 07 Dec 2006 20:02
Accelerator Key Problem
#197
Author: Warren Stewart
Date: Thu, 07 Dec 2006 20:02
10 lines
1277 bytes
Hi all,
I have an app compiled in CBulider 5 with accelerator keys on the TMenuItem
captions of the TMainMenu.  (For example, &File on the File Menu item.)  My
problem is the underline for the accelerator key does not always show up on
Windows 2000 or Windows XP.   At some point, I believe I heard there was a
setting somewhere in Win 2K or XP that needed to be changed.   Does anyone
how to get the underlines to show up?

Thanks,
Warren Stewart
Re: Accelerator Key Problem
#198
Author: Remy Lebeau (TeamB)
Date: Thu, 07 Dec 2006 21:23
13 lines
1402 bytes
"Warren Stewart" <stewtech@sbcglobal.net> wrote in message
news:4578737a$1@newsgroups.borland.com...

> My problem is the underline for the accelerator key does not always show
> up on Windows 2000 or Windows XP.

The display of accelerators is disabled by default in those versions of
Windows.  You have to enable it in the Display applet of the Control Panel.
That has nothing to do with the VCL.


Gambit
Re: Accelerator Key Problem
#199
Author: Warren Stewart
Date: Fri, 08 Dec 2006 00:04
29 lines
2209 bytes
> "Warren Stewart" <stewtech@sbcglobal.net> wrote in message
> > My problem is the underline for the accelerator key does not always show
> > up on Windows 2000 or Windows XP.
>
>"Remy Lebeau (TeamB)"
> The display of accelerators is disabled by default in those versions of
> Windows.  You have to enable it in the Display applet of the Control
Panel.
> That has nothing to do with the VCL.
>

Thanks Remy.   For WinXP, Win2003, using:
Control Panel | Display | Appearance tab | Effects Button
I find a checkbox labeled:  "Hide underlined letters for keyboard navigation
until I hit the ALT key".  When I uncheck this box, I'm still not getting
visible underlines on the main menu options.  Rather, I get a behavior where
pressing the ALT key depresses the left most main menu selection in button
fashion;  allows left-right main menu item navigation with the arrow keys;
and, when you press the ENTER key, the submenu of the depressed menu item is
displayed with its accelerator keys underlined.

To check what would happen, I changed the AutoHotKeys property of the
TMainMenu component from maAutomatic to maManual.  This had no effect.  Are
you aware of any other setting in the Control Panel, Display applet that
might alter this further?

Thanks
Warren S.
Re: Accelerator Key Problem
#200
Author: Remy Lebeau (TeamB)
Date: Fri, 08 Dec 2006 00:27
28 lines
2005 bytes
"Warren Stewart" <stewtech@sbcglobal.net> wrote in message
news:4578ac1c$1@newsgroups.borland.com...

> For WinXP, Win2003, using:
> Control Panel | Display | Appearance tab | Effects Button
> I find a checkbox labeled:  "Hide underlined letters for keyboard
> navigation until I hit the ALT key".  When I uncheck this box, I'm
> still not getting visible underlines on the main menu options.

Works fine for me on XP.

> I get a behavior where pressing the ALT key depresses the left
> most main menu selection in button fashion;  allows left-right main
> menu item navigation with the arrow keys; and, when you press the
> ENTER key, the submenu of the depressed menu item is displayed

That is what menus are supposed to do when you press ALT without pressing a
letter with it.  That works the same in all Windows versions, and has
nothing to do with whether the accellerators are hidden or not.

> Are you aware of any other setting in the Control Panel, Display applet
> that might alter this further?

There are no other settings.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads