Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/10/2010, 04:48
Avatar de atak
atak
 
Fecha de Ingreso: julio-2005
Ubicación: Huancayo
Mensajes: 490
Antigüedad: 18 años, 10 meses
Puntos: 5
Información Problema con paso de parámetro.

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.ObjectByVal e As System.EventArgsHandles 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
(cTextBox).Clear()
                     
End If
                 
Next
             End Sub 



Prueba de esa manera ..


Saludos.
__________________
. .: El mejor Inicio :. .