Topic Path: Symbol Reference > Classes > TIdIMAP4 Class > TIdIMAP4 Events > OnWorkEndForPart Event
TIdIMAP4.OnWorkEndForPart Event

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

property OnWorkEndForPart: TWorkEndEvent;

OnWorkEndForPart is a TWorkEndEvent property that represents the event handler signalled when completing 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.

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