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

TControl.IsParentOf

Determines whether this control is a parent of AControl.

Declaration

Source position: controls.pp line 1567

public function TControl.IsParentOf(

  AControl: TControl

):Boolean; virtual;

Arguments

AControl

  

The control of which this control may be a parent.

Function result

True if this control is a parent of AControl.

Description

The recursive search in all Parents of AControl finds not only immediate parent/child controls.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.