Internet Direct (Indy)
Home
PreviousUpNext
TEvent.ResetEvent Method

Clears the waitable event handler.

Pascal
procedure ResetEvent;

ResetEvent is a procedure used to ensure that signals posted to the waitable event handle in the class instance are cleared. 

ResetEvent examines the internal handle to determine its' class type, and casts the handle prior to calling the Reset method from the Framework class library. 

Use SetEvent to post a signal to the waitable event handle. 

Use WaitFor to retrieve the result from the waitable event handler.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.