Ver Mensaje Individual
  #5 (permalink)  
Antiguo 06/07/2007, 11:33
RDV1981
 
Fecha de Ingreso: junio-2007
Mensajes: 47
Antigüedad: 17 años, 8 meses
Puntos: 0
Re: como DESHABILITAR un textBox

Cita:
Iniciado por erick_arcini Ver Mensaje
ok, ya mas entendible tu bronca, pueba este codigin y me cuentas

Código:
private void comboBox5_SelectedIndexChanged (object sender, System.EventArgs e)
{
        If ComboBox5.Text.ToUpper = "otro".ToUpper Then
            TextBox4.Visible = True
        End If
}


Gracias. Lo solucione colocando los siguiente
[code]

if (comboBox5.SelectedIndex == 3) // El 3 la posicino en que se
{ // encuentra en el comboBox
textBox.Visible = true;
}

else
textBox.visible = false;