.comment-link {margin-left:.6em;}

Thursday, August 23, 2007

 

twoltimer

TWOLTimer object
Unit: WOLGUI37.
Descendant of TWOLRoot. A representation WOL object, of a basic timer in the GUI in use.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;

procedure HandleNeeded;
Used procedure to create the handle of the timer. Generally its use is not necessary.

procedure Start;
Used procedure to initiate the timer. From its call, the timer will go to generate a OnTimer event periodically.

procedure Stop;
Used procedure to stop the timer. The timer leaves to generate the OnTimer event.

function WndProc (to var Message: TWOLMessage): Boolean;
Function that will be executed once the creation of the timer is finished.

Public properties and Events:

Handle: TWOLHandle (Only for Reading)
Property with the handle of the timer for the GUI in use.

Running: Boolean (Only for Reading)
Property that indicates if the timer is running or not.

Interval: Longint (For Reading and Writing)
Property that indicates the time interval, in milliseconds, used for the timer event OnTimer.

OnTimer: TWOLEvent (For Reading and Writing)
Event for the timer for each interval indicated in the Interval property. It is necessary that the timer is initiated by the Start method.

Labels: ,


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?