TPairSplitter/fr: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: TPairSplitter/fr
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Un TPairSplitter  est un composant qui peut être placé sur un [[TPanel/fr|panneau]] ou une [[TForm/fr|fiche]] et fournit deux sous-composants [[TPairSplitterSide/fr|TPairSplitterSide]]. . | |
| 2 | + | ||
| 3 | + | Dans l'exmple du dessous, un [[TPaintBox/fr|TPaintBox]] est placé dans chaque 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 | + | # Voir aussi | |
| 43 | + | ||
| 44 | + | - [[doc:/lcl/pairsplitter/tpairsplitter.html|Doc. TPairSplitter]] | |
| 45 | + | - [[TSplitter/fr|TSplitter]] | |
| 46 | + | ||
| 47 | + | --- | |
| 48 | + | *From the Free Pascal wiki, page "TPairSplitter/fr", 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).* |
