Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object reference to the current control
Message
De
04/06/2002 19:17:41
Jason Dalio
Northern Interior Regional Health Board
Prince George, Colombie Britannique, Canada
 
Information générale
Forum:
Microsoft Office
Catégorie:
Access
Divers
Thread ID:
00664527
Message ID:
00664773
Vues:
22
You could put the following in your code then:
Private Sub txtName_LostFocus()

   Call CleanupText(txtName)

End Sub

Private Sub CleanupText(txtBox as TextBox)

   txtBox.Text = Ucase(txtBox.Text)

End Sub
A little cumbersome but it reduces the code in each LostFocus event. If there is a better way to do this then I don't know how.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform