Class TThreadedTimer (unit AMThdTmr)

Inherits from

TComponent

Constructors


constructor Create(AOwner: TComponent);



Functions

destructor Destroy;


procedure SetEnabled(value: boolean);


procedure SetInterval(value: word);


procedure SetOnTimer(value: TNotifyEvent);


procedure SetThreadPriority(value: TThreadPriority);


procedure Timer;


procedure UpdateTimer;


Properties

property Enabled : boolean


property Interval : word


property Priority : TThreadPriority


Events

event OnTimer : TNotifyEvent


Variables

FEnabled : boolean;


FInterval : word;


FOnTimer : TNotifyEvent;


FThreadPriority : TThreadPriority;


FTimerThread : TTimerThread;



Constructors


constructor Create(AOwner: TComponent);


Functions


destructor Destroy;


procedure SetEnabled(value: boolean);


procedure SetInterval(value: word);


procedure SetOnTimer(value: TNotifyEvent);


procedure SetThreadPriority(value: TThreadPriority);


procedure Timer;


procedure UpdateTimer;


Properties


property Enabled : boolean


property Interval : word


property Priority : TThreadPriority


Events


event OnTimer : TNotifyEvent


Variables


FEnabled : boolean;


FInterval : word;


FOnTimer : TNotifyEvent;


FThreadPriority : TThreadPriority;


FTimerThread : TTimerThread;