views:

19

answers:

0

I have developed an application using .Net Compact framework 3.5 that runs on a touch enabled device with WinCE 5.0.

I want the focus to be on the first textbox when the page is launched.

I tried using

textBoxName.Focus();
textBoxName.Capture = true;
textBoxName.TabIndex = 0;

But the focus is not being set to the control.

related questions