Indy 9 | Content | Index | Reference

IdStati
See Also, Unit: IdComponent
Format strings for constructing connection status text messages.

    IdStati: array[TIdStatus] of string  = ( RSStatusResolving, RSStatusConnecting, RSStatusConnected, RSStatusDisconnecting, RSStatusDisconnected, RSStatusText, RSStatusText, RSStatusText, RSStatusText);

Unit
IdComponent
Description
IdStati is an array of strings which are used as the format specifier for constructing the status message of the TIdStatusEvent event. There is one array element in IdStati for each of the values in the TIdStatus enumerated type.

Each element in the array contains a constant value that represents the format specifier for a specific status message, and can contain one of the following values:

- RSStatusResolving

- RSStatusConnecting

- RSStatusConnected

- RSStatusDisconnecting

- RSStatusDisconnected

- RSStatusText

Do not change the order of the strings in this array or the TIdComponent.OnStatus event could return incorrect status strings.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.