I tried to change the size of a label from 2 text boxes, but doesn't work. Here is my code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click y = TextBox2.Text x = TextBox3.Text Form2.Label1.Size = New Size(y, x) End Sub
textbox2 is width and textbox3 is height.
It doesn't change and I don't know why. Can someone help me with this?