Let be be a teeny bit more clear.
If I add the code:
Private Sub UserControl1_ParentChanged(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.ParentChanged
Me.Parent.Controls.Add(New TextBox)
End Sub
The textbox gets added to the parent form. The PROBLEM I am trying to solve
is that although you can see the textbox, you cannot access it's properties
in the properties window. THAT's what I need to figure out.
Thanks.
--
--Zorpie
"Zorpiedoman" wrote:
> Looking for expert guidance here.
>
> I have a user control. When I drop it onto the form at design time, I want
> it to create a textbox and add it to the same form. Can this be done?
>
>
> --
> --Zorpie
|