[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TCustomFlowPanel

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

The base class for TFlowPanel.

Declaration

Source position: extctrls.pp line 1241

type TCustomFlowPanel = class(TCustomPanel)

protected

  procedure CMControlChange(); message;

  

Handles the CM_CONTROLCHANGE message.

  procedure AlignControls(); override;

  

Performs layout and alignment for flowed controls on the panel.

  procedure CalculatePreferredSize(); override;

  

Override this method to return the preferred height and width for the control.

public

  constructor Create(); override;

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  function GetControlIndex();

  

Gets the ordinal position in ControlList for the specified control.

  procedure SetControlIndex();

  

Sets the Index position in ControlList for the specified control.

  property AutoWrap: Boolean; [rw]

  

Determines if controls in TCustomFlowPanel are wrapped.

  property ControlList: TFlowPanelControlList; [rw]

  

Collection used to stored TFlowPanelControl instances on the panel.

  property FlowStyle: TFlowStyle; [rw]

  

Contains the flow direction used to position controls on the panel.

  property FlowLayout: TTextLayout; [rw]

  

Use FlowLayout to set the layout (alignment) for the non-flow coordinate. The default value is tlTop.

end;

Inheritance

TCustomFlowPanel

  

The base class for TFlowPanel.

|

TCustomPanel

  

The base class for a general container which can hold other objects. It has a customizable border and a central text.

|

TCustomControl

  

The base class for windowed controls which paint themselves.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TComponent

?

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.