Sample ToolBar1 with error?

Sample ToolBar1 with error?

Postby Anderson.OL » Sat Feb 09, 2008 11:32 am

Testing the example samples\toolbar1.prg noticed that the combination of keys ALT + N doesn't execute the function, just set focus for the button. Is this right?

Sorry for English.
FiveWin 9.03 + xHarbour !!
User avatar
Anderson.OL
 
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil

Postby Anderson.OL » Tue Feb 12, 2008 10:11 am

up
FiveWin 9.03 + xHarbour !!
User avatar
Anderson.OL
 
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil

Postby Antonio Linares » Tue Feb 12, 2008 11:32 am

We are checking it, and it looks as the button just gets the focus but the action is not fired.

WM_COMMAND is not sent and neither WM_SYSCOMMAND...

Still looking for a solution
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Anderson.OL » Tue Feb 12, 2008 1:18 pm

Antonio Linares wrote:We are checking it, and it looks as the button just gets the focus but the action is not fired.

WM_COMMAND is not sent and neither WM_SYSCOMMAND...

Still looking for a solution



Thanks for reply
FiveWin 9.03 + xHarbour !!
User avatar
Anderson.OL
 
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil

Postby Anderson.OL » Fri Feb 15, 2008 10:42 am

remember this, please.
FiveWin 9.03 + xHarbour !!
User avatar
Anderson.OL
 
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil

Postby James Bott » Fri Feb 15, 2008 2:01 pm

Why not just put the accelerator keys on the menu? These keys will work just the same as doing it on a toolbar.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Anderson.OL » Fri Feb 15, 2008 5:30 pm

James Bott wrote:Why not just put the accelerator keys on the menu? These keys will work just the same as doing it on a toolbar.

James


Work, but not in dialog with menu!
FiveWin 9.03 + xHarbour !!
User avatar
Anderson.OL
 
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil

Postby James Bott » Fri Feb 15, 2008 9:25 pm

Ah, the toolbar accellerators also may not be working because the toolbar is on a dialog.

Here is a trick you can try. Put another button on the dialog with an accelerator then hide the button in your code. The accelerator will still work and it will seem like the toolbar accelerator is working.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby aormond » Sat Feb 16, 2008 11:53 am

James Bott wrote:Ah, the toolbar accellerators also may not be working because the toolbar is on a dialog.

Here is a trick you can try. Put another button on the dialog with an accelerator then hide the button in your code. The accelerator will still work and it will seem like the toolbar accelerator is working.

James


Thanks, I need very much, I have to do the test

Excuse for my English
aormond
 
Posts: 4
Joined: Fri Feb 08, 2008 3:29 pm
Location: Rio de Janeiro, Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 73 guests