A program to count the number of characters in a TextBox.

This simple little program will count the number of characters in a TextBox. Please leave your comments and votes, thanks :)
Inputs
One TextBox, one Label, and two CommandButtons. (You just need to keep their default names).
Returns
The number of characters entered into the TextBox.
Rate A program to count the number of characters in a TextBox.
(9(9 Vote))
Sub Clear()
Text1.Text = ""
Label1.Caption = "Characters: "
Text1.SetFocus
End Sub
Private Sub Command1_Click()
Label1.Caption = "Characters: " & Str$(Len(Text1.Text))
Text1.SetFocus
End Sub
Private Sub Command2_Click()
Call Clear
End Sub
A program to count the number of characters in a TextBox. Comments
No comments yet — be the first to post one!
Post a Comment