VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This code will convert text in a textbox from lowercase to Uppercase and Uppercase to lowercase.

by Richard DeLaCruz (1 Submission)
Category: String Manipulation
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Wed 31st May 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This code will convert text in a textbox from lowercase to Uppercase and Uppercase to lowercase.

Rate This code will convert text in a textbox from lowercase to Uppercase and Uppercase to lowercase.



'Add two command buttons
'Add one text box



Private Sub command1_Click()
    'Converts the text in the text box to UPPERcase
    text1.Text = UCase(text1.Text)
    
End Sub

Private Sub command2_Click()
    'Converts the text in the text box to lowerCase
    text1.Text = LCase(text1.Text)
    
End Sub

Download this snippet    Add to My Saved Code

This code will convert text in a textbox from lowercase to Uppercase and Uppercase to lowercase. Comments

No comments have been posted about This code will convert text in a textbox from lowercase to Uppercase and Uppercase to lowercase.. Why not be the first to post a comment about This code will convert text in a textbox from lowercase to Uppercase and Uppercase to lowercase..

Post your comment

Subject:
Message:
0/1000 characters