Topic Path: Symbol Reference > Classes > TEvent Class > TEvent Methods > ResetEvent Method
TEvent.ResetEvent Method

Clears the waitable event handler.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.