TApxAbstractStatus
procedure UpdateDisplay(
First, Last : Boolean); virtual; abstract;
An abstract method that writes the contents of the status window.
A descendant of TApxAbstractStatus must override this method to update the display form. The TApxProtocol component calls this method regularly from its OnProtocolStatus event handler.
On the very first call to UpdateDisplay, First equals True and UpdateDisplay should typically call the Show method of Display to draw the outline and background of the status form. On the very last call to UpdateDisplay, First equals False and UpdateDisplay should typically set the Visible property of Display to False to erase the status window.
For all other calls to UpdateDisplay, First and Last both equal False. During these calls, UpdateDisplay must update the various labels in the Display form. To get information about the protocol status, it should use the Protocol field of TApxAbstractStatus to read the values of various properties such as FileName and BytesTransferred. See "Protocol status" in the printed documentation for a list of the most commonly used properties.
The CancelClick event handler, if one is provided, should call the CancelProtocol method of TApxProtocol to terminate the protocol because the user clicked the Cancel button.