RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseEndUserAdapter.ImplCanAddActionClass Method

Determines if the given action class can be added.

Pascal
function ImplCanAddActionClass(AParent: TComponent; AClass: TClass): Boolean; override;
C++
virtual __fastcall Boolean ImplCanAddActionClass(TComponent * AParent, TClass AClass);

The ImplCanAddActionClass function calls the base class to determine if the given action class can be added. In addition, it allows actions components to be added if they are derived from TCustomEndUserAdapterAction at some level. This function returns true if the action class is allowed to be added, or false otherwise. 

 

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