Delete All Controls In An Area Vb

[Solved] Delete All Controls In An Area Vb | Vb - Code Explorer | yomemimo.com
Question : delete all controls in an area vb

Answered by : joel-cunningham

Private Sub ClearControls() 'removing the controls from Me.Controls Me.SuspendLayout() For Each Control As Control In ListToDelete Me.Controls.Remove(Control) Next Me.ResumeLayout() ListToDelete = New List(Of Control)
End Sub

Source : https://stackoverflow.com/questions/12622329/removing-a-collection-of-controls | Last Update : Sun, 26 Jul 20

Answers related to delete all controls in an area vb

Code Explorer Popular Question For Vb