V
Vayse
I have seven text boxes, txtDay1 to txtDay7.
I have 7 command buttons, btnExpand1 to btnExpand7
When a button is clicked, it sets the height of the text box to 200.
Private Sub btnExpand1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnExpand1.Click
Me.txtDisplay1.Height = 200
End Sub
I'd like to have one routine to handle the all clicks. That is, the routine
should be able to tell which button was clicked.
How would I do this?
Thanks
Vayse
I have 7 command buttons, btnExpand1 to btnExpand7
When a button is clicked, it sets the height of the text box to 200.
Private Sub btnExpand1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnExpand1.Click
Me.txtDisplay1.Height = 200
End Sub
I'd like to have one routine to handle the all clicks. That is, the routine
should be able to tell which button was clicked.
How would I do this?
Thanks
Vayse