Topic Path: Symbol Reference > Classes > TIdThread Class > TIdThread Properties > Loop Property
ContentsIndexHome
PreviousUpNext
TIdThread.Loop Property

Indicates if the thread is Run continuously until Stopped.

property Loop: Boolean;

Loop is a Boolean property used to indicate if the Run method for the thread instance is called in a loop. 

When Loop contains True (the default value assigned in Create), the Run method will be continuously executed until Stopped returns True. 

When Loop contains False, the Run method is called once during execution of the thread.

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