Page 1 of 1

Problems with Accelerators in Class ButtonBmp

PostPosted: Sat Jan 12, 2008 12:31 am
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:

PostPosted: Sat Jan 12, 2008 7:44 am
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.

Re: Problems with Accelerators in Class ButtonBmp

PostPosted: Sat Jan 12, 2008 4:42 pm
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]