RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterErrorsList.Messages Property

Lists the error messages for the errors in the list.

Pascal
property Messages [I: Integer]: string;
C++
__property AnsiString Messages[int I];

Use Messages to access the error message for a specified error in the list. 

I is the index of the error in the list, where 0 specifies the first error, 1 specifies the second error, and so on. 

The value of Messages for an error is set by the AddError method when the error is added to the list. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!