Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

TPairSplitter

English · Français · Русский

A TPairSplitter is a component that can be placed on a panel or form and provides two TPairSplitterSide sub-components.

In the example below, a TPaintBox item is dropped onto each TPairSplitterSide.

pascal
unit Unit1;

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, Forms,
  Controls, PairSplitter, ExtCtrls;

type
  TForm1 = class(TForm)
    PaintBox1: TPaintBox;
    PaintBox2: TPaintBox;
    PairSplitter1: TPairSplitter;
    PairSplitterSide1: TPairSplitterSide;
    PairSplitterSide2: TPairSplitterSide;
  end;

var
  Form1: TForm1;

implementation

{$R *.lfm}

{ TForm1 }

end.

See also


From the Free Pascal wiki, page "TPairSplitter", as it stood on 2020-03-01 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .