Hmm, normally, I just cut all those controls out and delete the GroupBox. But, it's not easy all the time, so me just wondering if there was a way to do it without touching the child controls.
Remove the relationship? Or other otions?
Jump to Post
I'm pretty sure the controls will be deleted with their parent. One option you have is to remove the controls from the parent control and place it in a different one or the form itself
For Each c As Control in GroupBox1.Controls Me.Controls.Add(c) Next
You may …
All 12 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.