[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControlBorderSpacing.GetOwner

Gets the class where the border spacing values are used.

Declaration

Source position: controls.pp line 857

protected function TControlBorderSpacing.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.

Version info

Added in LCL version 3.2.

See also

TControlBorderSpacing.Control

  

The control to which this border spacing applies.

TControlBorderSpacing.Create

  

Constructor for the class instance.

TPersistent


Version 3.2 Generated 2024-02-25 Home