Hi, I tried this:
Code:For introw = Me.SplitContainer1.Panel1.Controls.Count - 1 To 0 If Me.SplitContainer1.Panel1.Controls(introw).GetType.ToString = "Adjustment.UI.ucSubApproval" Then Me.SplitContainer1.Panel1.Controls.RemoveAt(introw) End If Next
It won't go into the loop and remove the controls. Something wrong?




Reply With Quote