Please, help me with a button

dusans

Newcomer
Joined
Sep 16, 2002
Messages
20
I have a problem using button controls. When I put buttons on the form I can use space and enter key to simulate mouse clicks. When I put buttons in UserControl (making new user contol) and put that control on form everything works except that my buttonts don't recieve enter key. I this a bug ? Please tell me if you have a solution or explanation! Thanks.
 
The enter key will press whatever button is set in the AcceptButton property of the Form. The space key will activate whatever button has the focus, which you can tab through using the tab key.
 
Back
Top