TAbOpHourCounter is used to count the operation time.
TAbOpHourCounter = class(TAbGraphicControl);
class TAbOpHourCounter : public TAbGraphicControl;
With this component you can count the time. With the property "Count = true" the counter will start. An OnLimit event occurs if the selected limit is reached. Via the property "CountDown = true" and "Count = true" the counter counts backwards until 0. If the counted time becomes 0 an OnZero event occurs. See also the options opResetOnLimit, opStopOnLimit and opPresetOnZero.
With the property IniSettings you can specify a file (ini-style) where the components will save the time. While creation the component will check/load and while destroy the component saves the time to this file.
With the method SetTime you can set the time of the counter.
Hard-& Software A.Baecker
What do you think about this topic? Send feedback!