>>The functions are not the same, but don't care.
>>
>>My question is How to assign a shortcut to a button without Caption.
>>If you know it please reply me!
>>
>>Thanks in advance!
Sorry, bad HTML:
Create another commandbutton with caption '\F' and issue in Form.Init event:
This.cmdDummybutton.Left=-120
Then in cmdDummybutton.Click event
This.Parent.cmdMybutton.Click
Edward Pikman
Independent Consultant