Hello,
The User Control is part of my project.
I have found this so far:
Code:
Dim UserControl1 As New The_User_Control
UserControl1.Top = "0"
UserControl1.Left = "5"
UserControl1.Width = Me.Width - 10
Me.Controls.Add(UserControl1)
That code adds it to the form using runtime like how I wanted but the width of the control don't resize to way I want it to.
There is no Code in the user control that sets the width of the control so there shouldn't be any problem.
Any ideas why it not resizing? or am I doing it wrong?
Hope someone can help
Thanks.
Bookmarks