Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't call setfocus from a valid event
Message
From
09/06/2003 11:37:02
 
 
To
09/06/2003 10:23:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00797959
Message ID:
00797984
Views:
17
Are you checking for the existence of the client in the valid? If you are, then you'll have this problem with bringing up the form again and setting focus. Put your code that checks for the client's existence somewhere else.

Alan

>Hi all, i have a problem with this form that find clients, when i clic the search button it shows the find window then if success shows the select window wich have a listbox then put the focus on it to show the selected client. When the user digit a inexistent client i show the find window again but, at the moment the form try to put the focus on the listbox shows the error "can't call setfocus from a valid event"
>how can i fix it? thanks....
Previous
Reply
Map
View

Click here to load this message in the networking platform