focusing in Windows App
-
When I open my application, it automatically focuses on a button. I want it to focus on the text, so that the user doesn't have to click on the text box. I have already tried textbox1.focus(), but it still focuses on the button. Any help would be appreciated. Thanks, Prateek
-
When I open my application, it automatically focuses on a button. I want it to focus on the text, so that the user doesn't have to click on the text box. I have already tried textbox1.focus(), but it still focuses on the button. Any help would be appreciated. Thanks, Prateek
Try
textbox1.Select()
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
-
Try
textbox1.Select()
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
Thanks, that helped :)
-
Thanks, that helped :)
Glad to help you :)
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion