For Each con As Control In SplitContainer1.Panel1.Controls If TypeOf con Is TextBox Then con.Text = "" End IfNext