G Guest Jun 16, 2006 #1 In Windows application,I have four buttons on Windows form. When I run, it doesn't show focus on first button.
In Windows application,I have four buttons on Windows form. When I run, it doesn't show focus on first button.
F FUnky Jun 16, 2006 #2 "Dharmendra vithal Pandit" <Dharmendra vithal (e-mail address removed)> wrote in message In Windows application,I have four buttons on Windows form. When I run, it doesn't show focus on first button. Click to expand... Either you can set focus explicitly by calling button.Focus() or you can set the form's AcceptButton to one of the buttons on your form or you can change the taborder of your form.
"Dharmendra vithal Pandit" <Dharmendra vithal (e-mail address removed)> wrote in message In Windows application,I have four buttons on Windows form. When I run, it doesn't show focus on first button. Click to expand... Either you can set focus explicitly by calling button.Focus() or you can set the form's AcceptButton to one of the buttons on your form or you can change the taborder of your form.
M manish Jun 17, 2006 #3 Have u set TabIndex for buttons and TabStop propery to true. This will solve your problem
M manish Jun 17, 2006 #4 Have u set TabIndex for buttons and TabStop propery to true. This will solve your problem