
05/12/2007, 11:58
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 39
Antigüedad: 17 años, 5 meses Puntos: 0 | |
combobox y textfield tengo este codigo, que manda un numero especifico (en cada pais) a un textfield.... pero cuando selecciono varios, los numero se pierden algunos si los toma y otros no... no se porque?? estoy utilizando el evento click.....
Private Sub cb_pais_Click()
Select Case cb_pais.Text
Case "Guatemala"
txt_wht.Text = 31
Case "Honduras"
txt_wht.Text = 35
Case "El Salvador"
txt_wht.Text = 20
Case "USA"
txt_wht.Text = 0
Case "Costa Rica"
txt_wht.Text = 15
Case "Panama"
txt_wht.Text = 30
Case "Suecia"
txt_wht.Text = 0
Case "Francia"
txt_wht.Text = 0
Case "Brasil"
txt_wht.Text = 10
Case "Peru"
txt_wht.Text = 30
Case "Venezuela"
txt_wht.Text = 0
Case "España"
txt_wht.Text = 0
Case "Paraguay"
txt_wht.Text = 15
Case "Chile"
txt_wht.Text = 0
Case "Colombia"
txt_wht.Text = 10
Case "Puerto Rico"
txt_wht.Text = 0
Case "Australia"
txt_wht.Text = 0
Case "Canada"
txt_wht.Text = 0
Case "Pakistan"
txt_wht.Text = 15
End Select
End Sub |