>I try to flip text1 with keypress event to text7.
>And flip text7 back to text1 with keypress( especially Enter Key ).
>
>So if I scan text1 with scanner, I got the data and scan text7 with the data ,which I want to input, then I can go back to text1 for next scan.
>
>But I can go to text7 with info but never get back to text1.
>Is there anyone has any idea for solving this problem?
>
>(This is very simple code in the DOS mode but not working in Windows.)
>
>Please help
>
Hi David,
Put in the LostFocus of the textboxes
This.Parent.text7.SetFocus()
NODEFAULT
...
This.Parent.text1.SetFocus()
NODEFAULT
--sb--