RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterActionsListHelper.FindAction Method

Returns the child Web item that corresponds to the specified adapter action.

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

FindAction searches through the list of child Web items for a component that corresponds to the specified adapter action. 

AName is the name of the adapter action to locate. 

FindAction returns the child Web item (typically a TAdapterActionButton instance) that generates a control for the specified action. If there is no child Web item for the specified action, FindAction returns nil (Delphi) or NULL (C++). 

 

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