>I am trying to create a Data Entry Screen. I have bunch of textboxes with validation code. I want the cursor /current object to move to the next textbox if the information is valid in the current box. I am not able to Set Focus to the next textbox from the Valid Event.
>
>What should I do make this work ?
>
>Thanks
You should be able to do a SetFocus() from the LostFocus event. Have you set/arranged a default TabOrder for each of the controls so that a user cycles through them in the order that you want, (if all the entries are valid, of course)?
- Brian
VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)
www.wulfsden.com