Select Case
Publicado por Alejandro A. Llerandi (18 intervenciones) el 18/07/2003 19:18:04
Tengo el siguiente código:
Private Sub cmdOK_Click()
Select Case txtCODE.Text
Case 0
shpFIG.Shape = 0
Case 1
shpFIG.Shape = 1
Case 2
shpFIG.Shape = 2
End Select
End Sub
Pero el problema es que el control shpFIG no hace nada. ¿Qué está mal o qué puedo hacer al respecto?
Muchas gracias.
Private Sub cmdOK_Click()
Select Case txtCODE.Text
Case 0
shpFIG.Shape = 0
Case 1
shpFIG.Shape = 1
Case 2
shpFIG.Shape = 2
End Select
End Sub
Pero el problema es que el control shpFIG no hace nada. ¿Qué está mal o qué puedo hacer al respecto?
Muchas gracias.
Valora esta pregunta


0