Internet Direct (Indy)
Home
PreviousUpNext
TIdThread.Loop Property

Indicates if the thread is Run continuously until Stopped.

Pascal
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.

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.