Guys, I want my textbox are ALL CAPITAL letters even I encode a small letter and it will become Capital .. thanks guys!
nashy13 0 Newbie Poster
Recommended Answers
Jump to PostHere's your code:
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged TextBox1.Text = TextBox1.Text.ToUpper() End Sub
Jump to PostHi,
Here are other ways of doing it with Keychar or CharacterCasing:
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load TextBox2.CharacterCasing = CharacterCasing.Upper 'already by formload can you set te Char in a Textbox toUpper End Sub Private Sub TextBox1_KeyPress(sender As Object, e As …
All 6 Replies
Eternal Newbie 30 Newbie Poster
Begginnerdev commented: Correct! +8
Luc001 77 Posting Whiz
Begginnerdev commented: Correct! +8
nashy13 0 Newbie Poster
Eternal Newbie 30 Newbie Poster
Luc001 77 Posting Whiz
nashy13 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.