Problems with Accelerators in Class ButtonBmp

Problems with Accelerators in Class ButtonBmp

Postby ukoenig » Sat Jan 12, 2008 12:31 am

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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Antonio Linares » Sat Jan 12, 2008 7:44 am

>
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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Problems with Accelerators in Class ButtonBmp

Postby StefanHaupt » Sat Jan 12, 2008 4:42 pm

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
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 74 guests