Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPConnection.OnWork Event

Event handler signalled for read and / or write operations.

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

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.