RAD Studio VCL Reference
|
AncestorIsValid determines if one component is an ancestor of another.
function AncestorIsValid(Ancestor: TPersistent; Root: TComponent; RootAncestor: TComponent): Boolean;
Boolean AncestorIsValid(TPersistent * Ancestor, TComponent * Root, TComponent * RootAncestor);
Call AncestorIsValid to determine if component Root has the specified RootAncestor ancestor. The System::TObject System::TObject::InheritsFrom method is used to determine this. True is returned if the ancestor is valid, otherwise false.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|