yo de nuevo quizás con una pregunta tonta
Mi consulta es la siguiente:
Como hago para
En un form Principal
según la condición
procedure TFormPrincipal.btnIniciar1Click(Sender: TObject); begin if (not Timer1.enabled) then tiempo1 := time; Timer1.enabled := not Timer1.enabled; AQUI GUARDAR LA HORA/MINUTOS/SEGUNDOS DEL SISTEMA EN UNA VARIABLE DE HORA DE ENTRADA if (btnIniciar1.caption = 'Parar') then begin btnIniciar1.caption := 'Iniciar'; AQUI GUARDAR LA HORA/MINUTOS/SEGUNDOS DEL SISTEMA EN OTRA VARIABLE DE HORA DE SALIDA end; else btnIniciar1.caption := 'Parar'; end;
eso en un Formulario donde cronometro el tiempo de presionar el boton para iniciar y luego para detenerlo
hasta allí todo bien (creo)
pero luego en otro formulario quiero
mostrar la HORA/MINUTOS/SEGUNDOS tanto como de entrada y de salida
la quiero mostrar preferentemente en un Label
pero no importa tanto eso
espero que me haya explicado
Desde ya muchas gracias