Advertisement
2_2002-2004 String Manipulation #115331

Make Uppercase or lowercase in Textbox

how to Make Uppercase or lowercase in Textbox

AI

Résumé par IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Code source
original-source
'This to change it to Uppercase while typing
Private Sub Text1_KeyPress(KeyAscii As Integer)
  KeyAscii = Asc(UCase(Chr(KeyAscii)))
End Sub
'This to change it to Lower case while typing
Private Sub Text1_KeyPress(KeyAscii As Integer)
  KeyAscii = Asc(LCase(Chr(KeyAscii)))
End Sub
Commentaires originaux (3)
Récupéré via Wayback Machine