AlignPanel

TAlignPanel is a TPanel that aligns its child-controls to equal size.
You can put any TWinControl (e.g. Buttons) or TGraphicControl (e.g. TSpeedButtons) on it. They will arrange themselves if you resize the AlignPanel.

To arrange the Controls, just drag them with the mouse. The TabOrder property of the TWinControls gets adjusted automatically.

At designtime, click on the rim of the AlignPanel (the rim has a size of 8 pixel and is invisible) to make it selected. Click on the middle of a child-Component to select it. Double-click on the AlignPanel (its rim) will select all its child-Components at once (this does not work with Delphi 1).

Version 0.2: Bugfix made by Eugene I Levin for bottom-aligned AlignPnl's on TPageControls.

This component is prepared for Delphi 3.0 - but not tested bacause I don't have it.
Please report ANY (good or bad) experience you get with this component under Delphi 3.0 to <ckirchner@geocities.com>, so I can release this version to the DSP soon - thanks in advance.

Download (10KB, Version 0.2, Last modified: Jul-16-1997)

[Back]Back to The Delphi Component Building Site

1