RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterCommandColumn.ImplCanAddClass Method

Provides the underlying implementation for the CanAddClass method.

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

The CanAddClass method calls ImpleCanAddClass to determine whether the TCustomAdapterCommandColumn descendant can add a component of type AClass to its WebFieldControls property list.  

AParent is the TCustomAdapterCommandColumn instance to which the component will be added. 

AClass is the class of the component to be added. 

In TCustomAdapterCommandColumn, ImplCanAddClass returns true if AClass is a descendant of TCustomAdapterActionButton or TCustomLayoutGroup. 

 

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