Visual Basic - COMO SACO EN TRES TEXTBOS HORAS MINUTOS Y SEGUNDOS

Life is soft - evento anual de software empresarial
 
Vista:

COMO SACO EN TRES TEXTBOS HORAS MINUTOS Y SEGUNDOS

Publicado por manolo (10 intervenciones) el 07/04/2002 20:53:49
Hola, soy nuevo y estoy intentando apredender algo, quisiera sacar en tres textbos horas, minutos y segundos, gracias de antemano
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:COMO SACO EN TRES TEXTBOS HORAS MINUTOS Y SEGUN

Publicado por Lubo (9 intervenciones) el 08/04/2002 07:16:23
Porque no pruebas en uno de la siguietne forma

Con un control timer y un intervalo de timepo de 200 hacer esto ...

Private Sub Timer_timer()
Text1.text = Format(time,"hh:mm:ss")
En sub

Espero que te sirva

Lo mismo se podria hacer con tres textbox

Private Sub Timer_timer()
Text1.text = Format(time,"hh")
Text2.text = Format(time,"mm")
Text3.text = Format(time,"ss")
end sub
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:COMO SACO EN TRES TEXTBOS HORAS MINUTOS Y SEGUN

Publicado por Pedro Serrano Baizabal (8 intervenciones) el 08/04/2002 23:30:53
TxtHora.Text=hour(time)
TxtMinuto.Text=Minute(Time)
TxtSegundo.Text=Second(Time)
Enviame comentarios
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar