System.Diagnostics.TStopwatch.IsRunning
Delphi
property IsRunning: Boolean read FRunning;
C++
__property bool IsRunning = {read=FRunning};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | public | System.Diagnostics.pas System.Diagnostics.hpp |
System.Diagnostics | TStopwatch |
Description
Spécifie si le chronomètre est démarré.
Utilisez IsRunning pour vérifier si le chronomètre est démarré et compte le temps écoulé. Pour démarrer le chronomètre, utilisez la méthode Start ou StartNew. Pour arrêter le chronomètre, utilisez la méthode Stop.