RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.FindField Method

Returns an adapter field component with a matching field name.

Pascal
function FindField(const AName: string): TComponent;
C++
__fastcall TComponent * FindField(const AnsiString AName);

The field name is used when a component property references an adapter field by name. Adapter fields also have a variable name that is used to reference the field with server-side script. The variable name and field name are usually the same. The only time that they need to be different is when the field name is not a valid server-side script identifier. 

 

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