Topic Path: Symbol Reference > Classes > TIdReply Class > TIdReply Methods > SetReply Method > SetReply Method (Integer, string)
ContentsIndexHome
PreviousUpNext
TIdReply.SetReply Method (Integer, string)

Stores the values used for the Code and Text properties in the reply.

procedure SetReply(
    const ACode: Integer; 
    const AText: string
); virtual; overload;
Parameters 
Description 
ACode 
Reply code as an integer value.
 
AText 
Reply text as a string value. 

SetReply is an overloaded procedure used to store the values used for the Code and Text properties in the reply. 

SetReply is used in TIdReplies.Add to set the property values for the new TIdReply instance.

TIdReply.SetReply 

TIdReplies.Add

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