Sign in Join
FPDoc Onlineexperiment

TGetDesignerFormEvent procedure type

In unit Forms

Specifies an event handler signalled to get the form with the designer for a persistent object.

Declaration

pascal
TGetDesignerFormEvent = function(APersistent: TPersistent): TCustomForm
 of object

Arguments

APersistent

TPersistent instance for the event notification.

Function result

TCustomForm instance with the designer object for the specified persistent object.

Description

TGetDesignerFormEvent is an object function type which specifies an event handler signalled to get the form instance with the designer object for APersistent. The return value contains the TCustomForm instance which contains the designer object for the persistent object, and may be unassigned ( Nil) if a form hosting APersistent cannot be located.

TGetDesignerFormEvent is the type used for the OnGetDesignerForm variable in the forms unit.

See also

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