Topic Path: Symbol Reference > Classes > TIdIMAP4 Class > TIdIMAP4 Events > OnWorkForPart Event
ContentsIndexHome
PreviousUpNext
TIdIMAP4.OnWorkForPart Event

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

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.

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