IF ... END IF
Publicado por GRIS (48 intervenciones) el 28/08/2007 15:06:57
Hola a tod@s, espero me puedan brindar ayuda como siempre, resulta que tengo las siguientes sentencias ...
IF Etiqueta247.Caption = 10 or 11 or 12 or 13 or 14 or 15 then
Clt1.Visible = true
Ctl2.visible = false
Ctl3.Visible = false
End if
IF Etiqueta247.Caption = 16 or 17 0r 18 or 19 or 20 then
Ctl1.Visible = false
Ctl2.visible = True
Ctl3.Visible = false
End if
IF Etiqueta247.Caption = 21 or 22 or 23 or 24 or 25 then
Ctl1.visible = False
Ctl2.Visible = False
Ctl3.Visible = True
End if
Y al final deja visibles a todos, por que ????? ... Ya lo intente con and y nada ...
IF Etiqueta247.Caption = 10 or 11 or 12 or 13 or 14 or 15 then
Clt1.Visible = true
Ctl2.visible = false
Ctl3.Visible = false
End if
IF Etiqueta247.Caption = 16 or 17 0r 18 or 19 or 20 then
Ctl1.Visible = false
Ctl2.visible = True
Ctl3.Visible = false
End if
IF Etiqueta247.Caption = 21 or 22 or 23 or 24 or 25 then
Ctl1.visible = False
Ctl2.Visible = False
Ctl3.Visible = True
End if
Y al final deja visibles a todos, por que ????? ... Ya lo intente con and y nada ...
Valora esta pregunta


0