Not able to set focus on the first control in window forms in .Net Compact Framework 3.5
- by Sundar
I have developed an application using .Net Compact framework 3.5 that runs on a thouch enabled device with WinCE 5.0.
I want the cursor to be on the first textbox when the page is launched.
I tried using
textBoxName.Focus();
textBoxName.Capture = true;
textBoxName.tabIndex = 0;
still couldn't bring the cursor to the control
thanks