Constructor for the object instance.
constructor Create( ATask: TIdTask = nil; AName: string = '' ); virtual; reintroduce;
Create is the reintroduced constructor for the object instance. Create calls the inherited constructor to create a suspended thread with the name indicated in AName. The thread is created in a suspended state to allow assignment of the Task for the thread prior to execution.
Create assigns the value in ATask to the task property for the current object instance.
Use Destroy to free the object instance.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.