Sign in Join
FPDoc Onlineexperiment

FindRootDesigner function

In unit Forms

Gets the designer object for the specified persistent object (or its parent).

Declaration

pascal
function FindRootDesigner(APersistent: TPersistent): TIDesigner

Arguments

APersistent

Persistent object examined for a designer instance in the routine.

Function result

TIDesigner instance for the object, or Nil when a parent form is not found.

Description

FindRootDesigner is a TIDesigner function used to get the root designer object for the specified persistent object instance. The TIDesigner instance is found on the Form where the object (or its parent) is hosted in the Lazarus IDE. The return value is Nil when a parent form for APersistent is not found.

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