Topic Path: Symbol Reference > Classes > TIdTCPConnection Class > TIdTCPConnection Properties > OnWork Event
ContentsIndexHome
PreviousUpNext
TIdTCPConnection.OnWork Event

Event handler signalled for read and / or write operations.

property OnWork;

OnWork is a TWorkEvent property that represents the event handler signalled when read or write operations are invoked for the connection. OnWork is generally used to control the update of progress indicators or GUI components when an IO operation is performed. 

OnWork is assigned to the TWorkEvent event handler in IOHandler when the value for the IOHandler property is assigned. 

TIdTCPConnection contains an internal method normally assigned to OnWork. Applications can assign a procedure to the event handler to allow responsing the TWorkEvent notification. 

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