>>my form has a control text box with data value 0,
>>when user want to key in value 1 and click other control box (without press enter)
>>the text box gives me value 10
>>how to get the correct input value even user does not press enter ?
>
>Do you have InputMask set for the textbox? I usually remove the InputMask in the GotFocus of the textbox and restore in the LostFocus.
>
>yes i do have ,but if do what you said, still there is another problem...
>if the text box value is already 100, i click on the text box and key in 2 then click the other text box, that text box shows 210....
You would have to code KeyPress event for event and check for MaxLength, I think. See sample at
How to prevent BackSpace key in a TextBox from moving a cursor to the previous control FAQ #28161
If it's not broken, fix it until it is.
My Blog