RAD Studio VCL Reference
|
Provides the underlying implementation for the CanAddClass method.
function ImplCanAddClass(AParent: TComponent; AClass: TClass): Boolean; virtual; abstract;
virtual __fastcall Boolean ImplCanAddClass(TComponent * AParent, TClass AClass) = 0;
The CanAddClass method calls ImpleCanAddClass to determine whether the TWebForm descendant can add a component of type AClass to its WebComponents property list. AParent is the TWebForm instance to which the component will be added.
In TWebForm, ImplCanAddClass is abstract or, in C++ terminology, pure virtual. TWebForm descendants must override ImplCanAddClass to indicate what types of Web Items they can use when generating their HTML forms.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|