General information
Category:
Forms & Form designer
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
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