by Osama Jamal Ashhab (1 Submission)
Category: String Manipulation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 15th May 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
* This Code is to Convert Only the First Character Being Entered in the TextBox Control to an Upper Case Letter. * This is Usefull while
Private Sub Text1_KeyPress(KeyAscii As Integer)
If Len(Text1) = 1 Then
KeyAscii = Asc(UCase(Chr(KeyAscii)))
End If
End Sub
No comments have been posted about * This Code is to Convert Only the First Character Being Entered in the TextBox Control to an Upper. Why not be the first to post a comment about * This Code is to Convert Only the First Character Being Entered in the TextBox Control to an Upper.