Internet Direct (Indy)
Home
PreviousUpNext
TIdReplies.UpdateText Method
Pascal
procedure UpdateText(
    AReply: TIdReply
); virtual;
Parameters 
Description 
AReply 
Reply to update with the textual contents for the response. 

UpdateText is a procedure used to update the textual contents of the reply in AReply using a reply from the collection. 

When the number of lines in TIdReply.Text is 0 (zero), the contents for the instance are updated using an existing collection item. 

UpdateText calls Find to locate the collection item with the numeric value indicated in AReply. If an existing collection item cannot be located with the numeric value, no action is performed. If a collection item does exist with the indicated numeric value, the text for the collection item is assigned to the text in AReply.

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.