I have dynamicly created textboxes in a windows form.
Now I need to create mouse click events to the textboxes and I'm stuck...
I normal cases this would be the solution:
Private Sub TextBox1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Click
MsgBox(TextBox1.Text)
End Sub
But as they are dynamicly created at runtime this is not an opion.
Now I need to create mouse click events to the textboxes and I'm stuck...
I normal cases this would be the solution:
Private Sub TextBox1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Click
MsgBox(TextBox1.Text)
End Sub
But as they are dynamicly created at runtime this is not an opion.