Sign in Join
Wiki copytemporary

TColorDialog: what changed

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

Title: TColorDialog

OldNewLine
1+**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]].
2+
3+<figure>
4+<img src="component-TColorDialog.png" title="component-TColorDialog.png" />
5+<figcaption>component-TColorDialog.png</figcaption>
6+</figure>
7+
8+## Example
9+
10+``` pascal
11+procedure TForm1.Button1Click(Sender: TObject);
12+begin
13+ if ColourDialog1.Execute then
14+ Label1.Font.Color := ColourDialog1.Color;
15+end;
16+```
17+
18+## See also
19+
20+- [[doc:lcl/dialogs/tcolordialog.html|TColorDialog doc]]
21+
22+---
23+*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