Vcl.ExtCtrls.TCustomFlowPanel.FlowStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FlowStyle: TFlowStyle read FFlowStyle write SetFlowStyle default fsLeftRightTopBottom;

C++

__property TFlowStyle FlowStyle = {read=FFlowStyle, write=SetFlowStyle, default=0};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomFlowPanel

Description

Specifies the starting point and direction for controls added to a flow panel.

Use FlowStyle to set the starting position for the first control added to a flow panel, as well as the subsequent position for additional controls.



Flow Style Description

BottomTopLeftRight

The first control is at the bottom left corner of the panel. Subsequent controls are added from bottom to top and then from left to right.

BottomTopRightLeft

The first control is at the bottom right corner of the panel. Subsequent controls are added from bottom to top and then from right to left.

LeftRightBottomTop

The first control is at the bottom left corner of the panel. Subsequent controls are added from left to right and then from bottom to top.

LeftRightTopBottom

The first control is at the top left corner of the panel. Subsequent controls are added from left to right and then from top to bottom. This is the default setting.

RightLeftBottomTop

The first control is at the bottom right corner of the panel. Subsequent controls are added from right to left and then from bottom to top.

RightLeftTopBottom

The first control is at the top right corner of the panel. Subsequent controls are added from right to left and then from top to bottom.

TopBottomLeftRight

The first control is at the top left corner of the panel. Subsequent controls are added from top to bottom and then from left to right.

TopBottomRightLeft

The first control is at the top right corner of the panel. Subsequent controls are added from top to bottom and then from right to left.

Code Examples