G
Guest
Here is my code:
Private Sub cmP1JoyUpLabelSize_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmP1JoyUpLabelSize.Click
lblP1JoyUp.Width = InputBox("Enter the Width of the label.")
lblP1JoyUp.Height = InputBox("Enter the Height of the label.")
End Sub
After the box pops up how do I allow the user to back out without entering and data. It errors out if the input field is left empty or if the cancel button is clicked.
Thank you,
John
Private Sub cmP1JoyUpLabelSize_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmP1JoyUpLabelSize.Click
lblP1JoyUp.Width = InputBox("Enter the Width of the label.")
lblP1JoyUp.Height = InputBox("Enter the Height of the label.")
End Sub
After the box pops up how do I allow the user to back out without entering and data. It errors out if the input field is left empty or if the cancel button is clicked.
Thank you,
John