Hi,
You can call youTextBox.Focus(); to set the focus on the textBox when
you click on a button.
BR
Fabien Decret
Windows Embedded Consultant
ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/ | http://fabdecret.blogspot.com/
> I would like to create an inherited TextBox control that pops up a small
> numeric keypad when it receives focus. The problem is, if I use a
> UserControl for the keypad the focus will shift away from the TextBox
> when the user taps one of the keys. Is there anyway I can somehow
> create the same affect without loosing focus?
Doug Crawford - 30 Jun 2007 00:12 GMT
This kind of works, but the TextBox momentarily looses focus which
causes the validation to run. Is there any way to extend the
ClientRectangle so that I can capture mouse clicks outside the TextBox
and never loose focus?
> Hi,
>
[quoted text clipped - 14 lines]
>> when the user taps one of the keys. Is there anyway I can somehow
>> create the same affect without loosing focus?