TColorDialog: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | **TColorDialog**  is a dialog that aids in selecting color from a palette. It can be found on the [[Dialogs tab]] of the [[Component Palette]]. | |
| 2 | 2 | ||
| 3 | - | ||
| 4 | - | ||
| 5 | - | ||
| 6 | - | ||
| 3 | + |  | |
| 7 | 4 | ||
| 8 | 5 | ## Example | |
| 9 | 6 | ||
| 10 | 7 | ``` pascal | |
| 11 | 8 | procedure TForm1.Button1Click(Sender: TObject); | |
| 12 | 9 | begin | |
| 13 | 10 | if ColourDialog1.Execute then | |
| 14 | 11 | Label1.Font.Color := ColourDialog1.Color; | |
| 15 | 12 | end; | |
| 16 | 13 | ``` | |
| 17 | 14 | ||
| 18 | 15 | ## See also | |
| 19 | 16 | ||
| 20 | 17 | - [[doc:lcl/dialogs/tcolordialog.html|TColorDialog doc]] | |
| 21 | 18 | ||
| 22 | 19 | --- | |
| 23 | 20 | *From the Free Pascal wiki, page "TColorDialog", as it stood on 2023-08-02 after a change by Paskal, 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).* |
