Académique Documents
Professionnel Documents
Culture Documents
despus.
Donde:
HH es la hora
Se debe crear:
3 TextBox
3 CommandButton
Debe quedar as
Private Sub Command3_Click()
Hora = Text1
Minutos = Text2
Segundos = Text3
Segundos = Segundos + 1
If Segundos = 60 Then
Segundos = 0
Minutos = Minutos + 1
If Minutos = 60 Then
Minutos = 0
Hora = Hora + 1
If Hora > 12 Then
Hora = 1
End If
End If
End If
Text1 = Hora
Text2 = Minutos
Text3 = Segundos
End Sub
_____________________________________
Private Sub Command1_Click()
Text1 = ""
Text2 = ""
Text3 = ""
End Sub
_______________________________
Private Sub Command2_Click()
End
End Sub
_________________________________
NOTA: