Add a popup soft input panel to a TextBox

  • Thread starter Thread starter Doug Crawford
  • Start date Start date
D

Doug Crawford

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?
 
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?
 
Back
Top