Sign in Join
Wiki copytemporary

TColorDialog: what changed

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

OldNewLine
11**TColorDialog** ![](/wiki-images/4/47/Tcolordialog.png) is a dialog that aids in selecting color from a palette. It can be found on the [[Dialogs tab]] of the [[Component Palette]].
22
3-<figure>
4-<img src="component-TColorDialog.png" title="component-TColorDialog.png" />
5-<figcaption>component-TColorDialog.png</figcaption>
6-</figure>
3+![](/wiki-images/9/9b/Component-TColorDialog.png)
74
85## Example
96
107``` pascal
118procedure TForm1.Button1Click(Sender: TObject);
129begin
1310 if ColourDialog1.Execute then
1411 Label1.Font.Color := ColourDialog1.Color;
1512end;
1613```
1714
1815## See also
1916
2017- [[doc:lcl/dialogs/tcolordialog.html|TColorDialog doc]]
2118
2219---
2320*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).*

Back to history