You can't call a setfocus method from the valid of a textual control. You may want to try lostfocus method instead.
>Hello people,
>
>I have to put "ThisForm.Button1.SetFocus" in a Valid like this:
>
>... Code Part A ...
>ThisForm.Button1.SetFocus
>... Code Part B ...
>
>But it's generate a error message...
>
>Anyone could me help?...
>
>I'm using VFP 5.0!
>
>Regards,
>
>Rodolfo Duarte
>Brazil
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only