Can't set focus on some button in my Form [modified]
C#
4
Posts
2
Posters
0
Views
1
Watching
-
-
I create Form and on it i set some UserControl that have on him some button. When the Form is show - i try to set the Focus on this button that on the Form but i getting always Focus on the button that on the Usercontrol. Someone have solution?
I'm not sure what you mean but.. Have you checed taborder? Or have you tried Focus() method?
Visit my blog at http://dotnetforeveryone.blogspot.com
-
I'm not sure what you mean but.. Have you checed taborder? Or have you tried Focus() method?
Visit my blog at http://dotnetforeveryone.blogspot.com
-
I define AcceptButton of the Form. When i saw it is not helping - i try to use the Focus method on the Form button that i want to Fucos - But its also does not help.