Not able to set focus on the first control in window forms in .Net Compact Framework 3.5

Posted by Sundar on Stack Overflow See other posts from Stack Overflow or by Sundar
Published on 2010-05-25T10:07:40Z Indexed on 2010/05/25 10:11 UTC
Read the original article Hit count: 227

Filed under:

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

© Stack Overflow or respective owner

Related posts about compact-framework