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

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

property OnWorkBeginForPart: TWorkBeginEvent;

OnWorkBeginForPart is a TWorkBeginEvent property that represents the event handler signalled when starting to read or write 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.