Problems with Accelerators in Class ButtonBmp

Post Reply
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Problems with Accelerators in Class ButtonBmp

Post by ukoenig »

The Accelerators don't work

When you change in the sample < Testbubm.prg >
the buttons < Test > in < &Test >, following happens :

In the start WINDOW the underline from char < T > is shown
but when you press ALT-T nothing happens.

In the DIALOG-box the accelerator is working but you see
no underline when the dialogbox opens.
When you press only ALT, you can see the underline.

Greetings from Germany :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

>
In the start WINDOW the underline from char < T > is shown
but when you press ALT-T nothing happens.
>

windows don't react, by default (Win API rules), to accelerators. We need to implement it.

>
In the DIALOG-box the accelerator is working but you see
no underline when the dialogbox opens.
When you press only ALT, you can see the underline.
>

I think thats the normal behavior. You need to press Alt in order to see the accelerators.
regards, saludos

Antonio Linares
www.fivetechsoft.com
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Problems with Accelerators in Class ButtonBmp

Post by StefanHaupt »

ukoenig wrote: In the DIALOG-box the accelerator is working but you see
no underline when the dialogbox opens.
When you press only ALT, you can see the underline.
Uwe,

that´s a windows configuration, you can change it under desktop properties/effects. (not sure if the english synonyms are correct)

[german on]
Du kannst es ändern unter Desktop Eigenschaften/Effekte
[german off]
kind regards
Stefan
Post Reply