Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force Focus to object
Message
De
10/07/2003 15:52:05
 
 
À
10/07/2003 13:57:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00808943
Message ID:
00808991
Vues:
8
My general advice is have a form level validation and check if the data entered is correct

eg

If thisform.txt1.value#correct
messagebox('Text1 value is incorrect!!')
Thisform.txt1.setfocus
return 0
endif

HTH




>Visual Foxpro 6.0
>
>I have a text object that is on a form (N,9,0)
>
>When the user inputs data, the LostFocus event checks to see if the input is acceptable. If it is, nothing happens. If it is not, it gives the user a message box telling them.
>
>I want to force the cursor to the object that needs to be fixed.
>
>How can I force the focus to a particular text object?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform