Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to stay on a field?
Message
 
À
11/09/1997 15:00:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00049609
Message ID:
00049815
Vues:
63
>How do I send the FOCUS back to a field from a VALID?
Robert,

You can only keep focus in a particular field with the VALID. If VALID returns .F., the error message is displayed and focus stays in that control. If the VALID returns 0, focus stays in the contorl but no error message is displayed.

To SetFocus to a certain place on leaving a control, you can do that in the control's LostFocus event by simply;

THISFORM.Control.SetFocus()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform