I’m just a beginner at VB.NET…
I want to be able to insert a combobox control onto my form through code but I’m not sure how. Google doesn’t seem to answer.
Something along the lines of (I have no idea)
Me.AddControl(“Combobox”)
I would obviously then need to set the properties to setup the position/size etc.
Thanks
In its simplest form:
If you don’t want the
ComboBoxdirectly inside the Form, but perhaps inside a Panel control, you just need to replaceMewith a variable referring the intented parent control: