Class TPGTimerItem (unit PGTray95)

Inherits from

TComponent

Constructors


constructor Create(AOwner: TComponent);

TPGTimerItem


Functions

function ShouldTimeout: Boolean;

Returns whether or not a timer item should "timeout", and fire it's } { OnTimer event.

procedure TimeOut;


procedure SetEnabled(Value: Boolean);


procedure SetInterval(Value: TPGTimerInterval);


Properties

property Enabled : Boolean


property Interval : TPGTimerInterval


Events

Variables

LastTickCount : Double;


Tag : LongInt;


FEnabled : Boolean;


FInterval : TPGTimerInterval;


OnTimer : TNotifyEvent;


TimerManager : TPGTimerManager;



Constructors


constructor Create(AOwner: TComponent);

TPGTimerItem


Functions


function ShouldTimeout: Boolean;

Returns whether or not a timer item should "timeout", and fire it's } { OnTimer event. Note that the time between timeout's is calculated by } { using the Windows system tick count, not the time interval of the } { actual windows timer. This provides much more accurate and "timely" response } { for all events in the timer pool.


procedure TimeOut;


procedure SetEnabled(Value: Boolean);


procedure SetInterval(Value: TPGTimerInterval);


Properties


property Enabled : Boolean


property Interval : TPGTimerInterval


Events


Variables


LastTickCount : Double;


Tag : LongInt;


FEnabled : Boolean;


FInterval : TPGTimerInterval;


OnTimer : TNotifyEvent;


TimerManager : TPGTimerManager;