RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.FindNamedAction Method

Finds an action with a matching variable name.

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

The AName parameter contains the name used when referencing an action with server-side script. This name may not be the same as the component name. For example, server-side script accesses actions in a TDataSetAdapter with using the command name (e.g.; DeleteRow) rather than the adapter action component name. 

 

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