RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.FindAction Method

Returns an action component with a matching action name.

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

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

 

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