Hola,
abuitrago81
Tendrias que pasar como parametro un objeto y no una cadena de texto.
Código PHP:
Private Sub boton_limpiarAltas_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles boton_limpiarAltas.Click
LimpiarTextbox(TabControl)
End Sub
Código PHP:
Private Sub LimpiarTextbox(ByVal XXXX As object)
For Each c As Control In Me.XXXX.Controls
If TypeOf c Is TextBox Then
CType(c, TextBox).Clear()
End If
Next
End Sub
Prueba de esa manera ..
Saludos.