controls, focus...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Grega
    New Member
    • May 2007
    • 2

    controls, focus...

    Hi all,

    I am working on application where the user will trough the touch screen and on screen keyboard input some values into text boxes.

    he will press the on the text box which he will want to edit and then on the keypad(buttons 1,2,3...0, clr)

    now the question is how can I achieve that when the user will press on the keypad, the text box will not lose focus, so that I will know into which text box to input the numbers.

    thanks
    best regards
    Greg
  • TheRealAndy
    New Member
    • Mar 2008
    • 1

    #2
    Take a copy of the current cotrol that has focus by using the GotFocus event. When it loses focus from an input control, use the input controls clicked event to set focus back to the control you have taken a copy of.

    Comment

    Working...