|
|
Title | Make a TextBox convert letters to upper case in VB.NET |
Description | This example shows how to make a TextBox convert letters to upper case in VB.NET by setting the control's CharacterCasing property. |
Keywords | TextBox, lower case, VB.NET |
Categories | Controls, VB.NET |
|
|
When the form loads, it sets the TextBox's CharacterCasing property to Upper.
|
|
Private Sub Form1_Load(ByVal sender As System.Object, ByVal _
e As System.EventArgs) Handles MyBase.Load
' Set the TextBox's character casing.
TextBox2.CharacterCasing = CharacterCasing.Upper
End Sub
|
|
|
|
|
|