Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPConnection.OnWorkBegin Event

Event handler signalled when beginning a read or write operation.

Pascal
property OnWorkBegin;

OnWorkBegin is a TWorkBeginEvent property that represents the event handler signalled when beginning a read or write operation on the connection. OnWorkBegin is generally used to initailize progress indicators or GUI components when an IO operation is started. 

OnWorkBegin is assigned to the TWorkBeginEvent event handler in IOHandler when the value for the IOHandler property is assigned. 

TIdTCPConnection contains an internal method normally assigned to OnWorkBegin. Applications can assign a procedure to the event handler to allow responsing the TWorkBeginEvent 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.