Hi everyone. I am working on a student program, and basically I have a textbox called Text1 that says CLICK HERE TO ENTER ANSWER, but when the student clicks on it, I would like to clear the contents of the box.
I have googled it, and found code to erase it in VB.Net, but was wondering if anyone knew how to do the same, but in VB6?
Here is the VB.net code I found.
Private Sub TextBox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TextBox1.MouseDown
TextBox1.Text = ""
End Sub
I know there is a MouseDown event, but the "handles"?
:) Thanks a lot!
I have googled it, and found code to erase it in VB.Net, but was wondering if anyone knew how to do the same, but in VB6?
Here is the VB.net code I found.
Private Sub TextBox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TextBox1.MouseDown
TextBox1.Text = ""
End Sub
I know there is a MouseDown event, but the "handles"?
:) Thanks a lot!