Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

TColorDialog

Deutsch · English · Français · Русский · 中文(中国)

TColorDialog is a dialog that aids in selecting color from a palette. It can be found on the Dialogs tab of the Component Palette.

Example

pascal
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.

Revision 2, last changed by WikiArchive .