Difference between revisions of "TPairSplitter"
From Lazarus wiki
Jump to navigationJump to searchm |
|||
Line 1: | Line 1: | ||
− | A | + | {{TPairSplitter}} |
+ | |||
+ | A TPairSplitter [[image:tpairsplitter.png]] 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. | In the example below, a [[TPaintBox]] item is dropped onto each TPairSplitterSide. |
Revision as of 07:56, 21 September 2017
│
English (en) │
français (fr) │
русский (ru) │
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.
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