Revision 1 of 2, by Paskal on 8-2-2023. The page as it is now.
TColorDialog
TColorDialog
is a dialog that aids in selecting color from a palette. It can be found on the Dialogs tab of the Component Palette.
<figure> <img src="component-TColorDialog.png" title="component-TColorDialog.png" /> <figcaption>component-TColorDialog.png</figcaption> </figure>
Example
procedure TForm1.Button1Click(Sender: TObject);
begin
if ColourDialog1.Execute then
Label1.Font.Color := ColourDialog1.Color;
end;See also
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.
