RETURN .F. in the valid event of the textbox and the focus will stay on it.
>Does anyone know what is equivalent to the SETFOCUS command? In my valid method, it's not allowing me to thisform.fieldtxt.setfocus. It says that it's not allowed in Valid event. Do you have another suggestion of what to use? I tried got focus but that doesn't work either!
>
>All I want to do is return the cursor to the field where the error happened.
Précédent
Suivant
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