RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.ImplCanAddFieldClass Method

Indicates whether a type of adapter field can be added to this adapter.

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

ImplCanAddFieldClass returns false. This means that only TAdapterField can be added. Descendants override this method to allow additional field types. 

 

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