[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] Reference for unit 'fpGUI' (#fpgui)

TBoxLayout

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

Lays out widgets in a horizontal or vertical position.

Declaration

Source position: layouts.inc line 139

type TBoxLayout = class(TCustomBoxLayout)

published

  property CanExpandWidth;

  

  property CanExpandHeight;

  

  property Enabled;

  

  property BorderSpacing;

  

  property HorzAlign;

  

  property Orientation;

  

Toggle the layout of the TBoxLayout class.

  property Spacing;

  

  property VertAlign;

  

end;

Inheritance

TBoxLayout

  

Lays out widgets in a horizontal or vertical position.

|

TCustomBoxLayout

  

|

TLayout

  

The fpGUI layout system provides a simple and powerful way of specifying the layout of child widgets

|

TContainerWidget

  

TContainerWidget is an abstract class that defines the interface for containing other widgets

|

TWidget

  

The TWidget class is the base class of all user interface objects.

|

TComponent

?

TObject

Description

A TBoxLayout lays out widgets in a horizontal row, from left to right, or in a vertical column, from top to bottom. By default, the TBoxLayout uses the horizontal layout. You can toggle between horizontal and vertical layouts, by using the Orientation property.

See also

TBoxLayout

  

Lays out widgets in a horizontal or vertical position.

TGridLayout

  

The TGridLayout class lays out widgets in a grid.

TDockingLayout

  

TFixedLayout

  

The TFixedLayout allows you to arrange widgets at set x and y co-ordinates