[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'LazRegions' (#lcl)

# TLazRegionWithChilds

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implement a region which can have other regions as children.

## Declaration

Source position: lazregions.pas line 95

`type TLazRegionWithChilds = class(TLazRegion)`
`public`
`Parent: TLazRegionWithChilds;` |  | Complex region which hosts the subregions in the current class instance.
`Childs: TFPList;` |  | List of subregions for the current class instance.
`UserData: TObject;` |  | Contains an available link to another object.
`constructor Create; override;` |  | Constructor for the class instance.
`destructor Destroy; override;` |  | Destructor for the class instance.
`function IsPointInRegion(); virtual;` |  | Indicates if the specified point is within the bounds for the region.
`end;`

## Inheritance

`TLazRegionWithChilds` |  | Implement a region which can have other regions as children.
`TLazRegion` |  | Represents a custom region in the Lazarus LCL.
`TFPCustomRegion`
?
`TObject`

## Description

TLazRegionWithChilds is a TLazRegion descendant which implements a region which can hold a list of other region holders. Use Parent to access the complex region which owns the current class instance. Use Childs to access the list of subregions for the class instance.