RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFlowPanel.FlowStyle Property

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

Pascal
property FlowStyle: TFlowStyle;
C++
__property TFlowStyle FlowStyle;

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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!