I'm trying to code a button that puts a new label on the form.
I have tried:
VB Code:
Dim lblNew As New Label lblNew.Name = "lblNew" lblNew.Text = "Text" Me.Controls.Add(lblNew)
What is the right way to do this?
|
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |