Sign in Join
FPDoc Onlineexperiment

FindGlobalComponent function

In unit Classes

Callback used when a component must be found.

Declaration

pascal
function FindGlobalComponent(const Name: string): TComponent

Description

FindGlobalComponent is a callback of type TFindGlobalComponent. It can be set by the IDE when an unknown reference is found, to offer the user to redirect the link to a new component.

It is a callback used to find a component in a global scope. It is used when the streaming system needs to find a component which is not part of the component which is currently being streamed. It should return the component with name Name, or Nil if none is found.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.