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.
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
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
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
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 68 guests