TPairSplitter/ru: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: TPairSplitter/ru
| Old | New | Line | |
|---|---|---|---|
| 1 | + | **TPairSplitter**  является компонентом, который может быть размещен на [[TPanel/ru|панели]] или форме, представляющим собой контейнер с двумя разделенными компонентами [[TPairSplitterSide/ru|TPairSplitterSide]]. | |
| 2 | + | ||
| 3 | + | В примере ниже два элемента [[TPaintBox/ru|TPaintBox]] размещены на каждом компоненте **TPairSplitterSide**. | |
| 4 | + | ||
| 5 | + | <figure> | |
| 6 | + | <img src="component-TPairSplitter.png" title="component-TPairSplitter.png" /> | |
| 7 | + | <figcaption>component-TPairSplitter.png</figcaption> | |
| 8 | + | </figure> | |
| 9 | + | ||
| 10 | + | ``` pascal | |
| 11 | + | unit Unit1; | |
| 12 | + | ||
| 13 | + | {$mode objfpc}{$H+} | |
| 14 | + | ||
| 15 | + | interface | |
| 16 | + | ||
| 17 | + | uses | |
| 18 | + | Classes, SysUtils, Forms, | |
| 19 | + | Controls, PairSplitter, ExtCtrls; | |
| 20 | + | ||
| 21 | + | type | |
| 22 | + | TForm1 = class(TForm) | |
| 23 | + | PaintBox1: TPaintBox; | |
| 24 | + | PaintBox2: TPaintBox; | |
| 25 | + | PairSplitter1: TPairSplitter; | |
| 26 | + | PairSplitterSide1: TPairSplitterSide; | |
| 27 | + | PairSplitterSide2: TPairSplitterSide; | |
| 28 | + | end; | |
| 29 | + | ||
| 30 | + | var | |
| 31 | + | Form1: TForm1; | |
| 32 | + | ||
| 33 | + | implementation | |
| 34 | + | ||
| 35 | + | {$R *.lfm} | |
| 36 | + | ||
| 37 | + | { TForm1 } | |
| 38 | + | ||
| 39 | + | end. | |
| 40 | + | ``` | |
| 41 | + | ||
| 42 | + | ## См. также | |
| 43 | + | ||
| 44 | + | - [[doc:/lcl/pairsplitter/tpairsplitter.html|Документация по TPairSplitter]] | |
| 45 | + | - [[TSplitter/ru|TSplitter]] | |
| 46 | + | ||
| 47 | + | --- | |
| 48 | + | *From the Free Pascal wiki, page "TPairSplitter/ru", 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).* |
