Consider you've created a control inside a form as follows:
How can I access it right after creation line accordingly?Code:Me.Controls.Add(New Label With {.Name = "Label1"})
Its not declaration error will be shown consequently.Code:Label1.Visible = True
How about declaring controls with similar names? Required argument accepts string after all and humans can make mistakes.
How about adding controls inside a TableLayoutPanel? Are the logic dictation applies here too?




Reply With Quote
