FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Sample ToolBar1 with error?
Posts: 92
Joined: Thu Feb 15, 2007 11:37 AM
Sample ToolBar1 with error?
Posted: Sat Feb 09, 2008 11:32 AM

Testing the example [u:1g6k1m2x]samples\toolbar1.prg[/u:1g6k1m2x] 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 !!
Posts: 92
Joined: Thu Feb 15, 2007 11:37 AM
Sample ToolBar1 with error?
Posted: Tue Feb 12, 2008 10:11 AM

up

FiveWin 9.03 + xHarbour !!
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Sample ToolBar1 with error?
Posted: 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
Posts: 92
Joined: Thu Feb 15, 2007 11:37 AM
Sample ToolBar1 with error?
Posted: Tue Feb 12, 2008 01: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 !!
Posts: 92
Joined: Thu Feb 15, 2007 11:37 AM
Sample ToolBar1 with error?
Posted: Fri Feb 15, 2008 10:42 AM

remember this, please.

FiveWin 9.03 + xHarbour !!
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Sample ToolBar1 with error?
Posted: Fri Feb 15, 2008 02: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 92
Joined: Thu Feb 15, 2007 11:37 AM
Sample ToolBar1 with error?
Posted: Fri Feb 15, 2008 05: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 !!
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Sample ToolBar1 with error?
Posted: Fri Feb 15, 2008 09: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 4
Joined: Fri Feb 08, 2008 03:29 PM
Sample ToolBar1 with error?
Posted: 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

Continue the discussion