I have a problem setting the focus back to a textbox. I run the same application both on Windows Ce and Windows Mobile 5 and the issue is only on WinCE. On a form i have a custom control (let's say a custom DropDown) and a textbox, after an item is selected in the custom control i want to pass the focus back to the textbox.
The code looks like this:
private void ddlCurrencyList_SelectedItemChanged(object sender, SelectedItemArgs e)
{
_selectedCurrency = CurrencyCollection.Find(ddlCurrencyList.SelectedValue);
txtTabValue.Focus(); //does not work on Win CE.
}
I can't figure out what steals the focus on WinCe.