Page 1 of 1
Sample ToolBar1 with error?
Posted: Sat Feb 09, 2008 11:32 am
by Anderson.OL
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.
Posted: Tue Feb 12, 2008 10:11 am
by Anderson.OL
up
Posted: Tue Feb 12, 2008 11:32 am
by Antonio Linares
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
Posted: Tue Feb 12, 2008 1:18 pm
by Anderson.OL
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
Posted: Fri Feb 15, 2008 10:42 am
by Anderson.OL
remember this, please.
Posted: Fri Feb 15, 2008 2:01 pm
by James Bott
Why not just put the accelerator keys on the menu? These keys will work just the same as doing it on a toolbar.
James
Posted: Fri Feb 15, 2008 5:30 pm
by Anderson.OL
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!
Posted: Fri Feb 15, 2008 9:25 pm
by James Bott
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
Posted: Sat Feb 16, 2008 11:53 am
by aormond
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