Topic Path: Symbol Reference > Classes > TIdComponent Class > TIdComponent Properties > WorkTarget Property
TIdComponent.WorkTarget Property

Indy component to receive work mode events for the current object instance.

property WorkTarget: TIdComponent;

WorkTarget is a TIdComponent property that represents the Indy component to receive the Work mode events generated by the current object instance. WorkTarget allows work mode events to be chained for related components. 

When WorkTarget is assigned for an Indy component, work events in BeginWork, DoWork, and EndWork are actually performed in the component identified by WorkTarget. When WorkTarget is unassigned, the events are signalled in the current 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.