Sign in Join
FPDoc Onlineexperiment

TControlBorderSpacing.GetOwner function

Member of TControlBorderSpacingprotectedIn unit Controls

Gets the class where the border spacing values are used.

Declaration

pascal
function GetOwner: TPersistent; override

Function result

TPersistent object where the class instance is used.

Description

GetOwner is an overridden method in TControlBorderSpacing used to get the persistent object where the class instance is used. It reimplements the dynamic method introduced in the TPersistent ancestor to return the value in the Control property. To access properties /methods / events specific to a TPersistent descendant, the return value must be cast to the required class type.

Added in LCL version 3.2.

See also

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