Jim
That worked. Thanks for your help.
>James,
>
>The purpose of the Valid event is to determine if the control will be allowed to loose focus or not, the purpose of the LostFocus event is to determine what is to happen when the control loses focus. You are trying to do in the Valid what needs to be done in the LostFocus. Be sure that if you do call a SetFocus from the LostFocus you follow it wiht a NODEFAULT to prevent VFP from doing the default behavior of moving focus to the next control in the tab order.
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