RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFlowPanel Class

TFlowPanel implements a flow panel control in which components are placed in pre-defined locations.

Pascal
TFlowPanel = class(TCustomFlowPanel);
C++
class TFlowPanel : public TCustomFlowPanel;

ExtCtrls

Use TFlowPanel to put an empty flow panel on a form. The major difference between a traditional panel and a flow panel is the way in which controls are placed. With a traditional panel, you place a control (such as a button) in a specific location. You can freely move that control to any location within the panel using the mouse. In a flow panel, each control is placed in a specific location, regardless of where you place it with the mouse. The automatic location is controlled by the FlowStyle property. For example, using the default FlowStyle property of LeftRightTopBottom, the first control you add to the flow panel snaps to the top left corner. The second control that you add snaps next to the first control, and so on. 

 

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