Skip to content

TFindComponentEvent

Event callback to locate a component instance.

Declaration

Source position: rttiutils.pp line 145

type
  TFindComponentEvent = function(const Name: string) : TComponent;

Arguments

Name Description
Name Name path of component to search for.

Function result

Component instance.

Description

TFindComponentEvent should return the component instance for the component with name path Name. The name path should be relative to the global list of loaded components.

See also

Name Description
UpdateStoredList Update a stringlist with object references.
FindGlobalComponentCallBack Callback used when component references must be resolved.