Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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....
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement