Advertisement
Java_Volume1 Miscellaneous #86200

[ 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 :)

AI

AI Samenvatting: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Broncode
original-source
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
Originele reacties (3)
Hersteld van de Wayback Machine