Sign in Join
Wiki copytemporary

TPairSplitter: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11A TPairSplitter ![](/wiki-images/9/9c/Tpairsplitter.png) is a component that can be placed on a panel or form and provides two [[TPairSplitterSide]] sub-components.
22
33In the example below, a [[TPaintBox]] item is dropped onto each TPairSplitterSide.
44
5-<figure>
6-<img src="component-TPairSplitter.png" title="component-TPairSplitter.png" />
7-<figcaption>component-TPairSplitter.png</figcaption>
8-</figure>
5+![](/wiki-images/7/7c/Component-TPairSplitter.png)
96
107``` pascal
118unit Unit1;
129
1310{$mode objfpc}{$H+}
1411
1512interface
1613
1714uses
1815 Classes, SysUtils, Forms,
1916 Controls, PairSplitter, ExtCtrls;
2017
2118type
2219 TForm1 = class(TForm)
2320 PaintBox1: TPaintBox;
2421 PaintBox2: TPaintBox;
2522 PairSplitter1: TPairSplitter;
2623 PairSplitterSide1: TPairSplitterSide;
2724 PairSplitterSide2: TPairSplitterSide;
2825 end;
2926
3027var
3128 Form1: TForm1;
3229
3330implementation
3431
3532{$R *.lfm}
3633
3734{ TForm1 }
3835
3936end.
4037```
4138
4239## See also
4340
4441- [[doc:/lcl/pairsplitter/tpairsplitter.html|TPairSplitter doc]]
4542- [[TSplitter]]
4643
4744---
4845*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](/wiki-contact).*

Back to history