Class TCastleHorizontalGroup

Unit

Declaration

type TCastleHorizontalGroup = class(TCastlePackedGroup)

Description

Container that packs the children horizontally.

The children are packed from left-to-right by default, in the order determined by their back-to-front relation. E.g. if you add all the children using InsertFront, then they will appear in the same order, left-to-right, in the control. You can invert this by setting LeftToRight to False.

Hierarchy

Overview

Methods

Protected procedure DoPackChildren(out W, H: Single); override;
Public constructor Create(AOwner: TComponent); override;
Public function PropertySections(const PropertyName: String): TPropertySections; override;

Properties

Published property Alignment: TVerticalPosition read FAlignment write SetAlignment default vpMiddle;
Published property LeftToRight: boolean read FLeftToRight write SetLeftToRight default true;

Description

Methods

Protected procedure DoPackChildren(out W, H: Single); override;
 
Public constructor Create(AOwner: TComponent); override;
 
Public function PropertySections(const PropertyName: String): TPropertySections; override;
 

Properties

Published property Alignment: TVerticalPosition read FAlignment write SetAlignment default vpMiddle;

The alignment of children inside this control.

Published property LeftToRight: boolean read FLeftToRight write SetLeftToRight default true;
 

Generated by PasDoc 0.16.0.