Internet Direct (Indy)
Home
PreviousUpNext
TIdIMAP4.OnWorkForPart Event

Event handler signalled during retrieval of a message part for the IMAP4 client.

Pascal
property OnWorkForPart: TWorkEvent;

OnWorkForPart is a TWorkEvent property that represents the event handler signalled during execution of a read or write operation for a message part using the IMAP4 client. 

OnWorkBeginForPart, OnWorkEndForPart, and OnWorkForPart are used internally in the implementation of methods like Retrieve, UIDRetrieve, AppendMsg, AppendMsgNoEncodeFromFile, and AppendMsgNoEncodeFromStream. When assigned, the event handlers are assigned to the TIdTCPStream instance used to read or write the message part for the operation. 

Applications must assign a procedure to the OnWorkBeginForPart, OnWorkEndForPart, and OnWorkForPart event handlers to allow responding to the event notifications.

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.