>>>if your menu is to show N as the short cut put \< before the letter of the short cut, ie \
>>
>>I'm sorry that I didn't specified before that I'm using pictures in my command buttons on toolbar, How I can use \< over there.. Pls advs....
>
>Two options which may help are:
>* If you don't mind having an equivalent menu option for each command button, you can give the menu options "shortcut keys".
>* If only one form is affected, and is the active form (receiving keystrokes) when the buttons are active, you can trap keystrokes in the form's KeyPress event (you'll have to set KeyPreview to .T.) This option may not be right for you if you're talking about a toolbar, tho.
>
>HTH
Figures ... before I posted this message two other people had said the same thing. Ed, John, you're too fast!
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing