RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IAdapterErrors.DefineLabel Method

Associates a label with all errors associated with a particular adapter field.

Pascal
procedure DefineLabel(const AName: string; const ALabel: string);
C++
__fastcall DefineLabel(const AnsiString AName, const AnsiString ALabel);

DefineLabel is responsible for replacing an label text in error messages associated with a particular adapter field with the given label. DefineLabel is used when the label used on the Web page is not the same as the label generated as part of the error message. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!