For Each c As object In e.form.controls If typeof c Is winform.Table Then Dim t As Table = c.Table t.position = t.rows.count-1 End IfNext