- Home
·
- String Manipulation
·
- Uses a CommandButton to enter text into a Textbox on a single form. Ideal for beginners. Example on
Uses a CommandButton to enter text into a Textbox on a single form. Ideal for beginners. Example on
Uses a CommandButton to enter text into a Textbox on a single form. Ideal for beginners. Example only.
Rate Uses a CommandButton to enter text into a Textbox on a single form. Ideal for beginners. Example on
(1(1 Vote))
'Do NOT change the names. Only tested in VB6.
'This example is NOT for the Microsoft Forms 2.0 Object Library.
Private Sub Form_Load()
Text1.Text = ""
Command1.Caption = "A"
Command2.Caption = "B"
Command3.Caption = "X"
Command4.Caption = "Y"
End Sub
Private Sub Command1_Click()
Text1.Text = Text1.Text + "A"
End Sub
Private Sub Command2_Click()
Text1.Text = Text1.Text + "B"
End Sub
Private Sub Command3_Click()
Text1.Text = Text1.Text + "X"
End Sub
Private Sub Command4_Click()
Text1.Text = Text1.Text + "Y"
End Sub
Uses a CommandButton to enter text into a Textbox on a single form. Ideal for beginners. Example on Comments
No comments yet — be the first to post one!
Post a Comment