From RAD Studio API Documentation
Jump to: navigation, search



TFlowPanel = class(TCustomFlowPanel)


class PASCALIMPLEMENTATION TFlowPanel : public TCustomFlowPanel


Type Visibility Source Unit Parent
class public
Vcl.ExtCtrls Vcl.ExtCtrls


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

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.

See Also

Code Examples