UPPERCASE
TENHO UM PROBLEMAS. ESTOU DESENVOLVENDO UM PROGRAMA ONDE QUERO QUE QUANDO O USUARIO DIGITAR OS DADOS EM UM TEXTBOX OS DADOS JA ENTREM EM LETRAS MAIUSCULAR. ISTO é POSSIVEL POIS NA MINHA EMPRESA TRABALHAMOS COM UM PROGRAMA DESTE TIPO + NÃO CONSIGO ESTE RESULTADO DE JEITO NENHUM.
HELP ME!
HELP ME!
Use isso numa textbox
Private Sub Text1_Change()
Text1.Text = UCase(Text1)
Text1.SelStart = Len(Text1)
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
KeyAscii = Asc(UCase(Chr(KeyAscii)))
End Sub
KeyAscii = Asc(UCase(Chr(KeyAscii)))
End Sub
pode ser também:
Não se esqueça que a propriedade KeyPreview do Form deve ser TRUE.
Private Sub Text1_KeyPress(KeyAscii As Integer)
KeyAscii = Asc(UCase(Chr(KeyAscii)))
End Sub
Não se esqueça que a propriedade KeyPreview do Form deve ser TRUE.
hehehe...igualzinho...rsrs
é verdade, diferença de 05 segundos.
eh...rsrs
Tópico encerrado , respostas não são mais permitidas