TColorDialog
From Lazarus wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
│
Deutsch (de) │
English (en) │
français (fr) │
русский (ru) │
中文(中国大陆) (zh_CN) │
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
procedure TForm1.Button1Click(Sender: TObject);
begin
if ColourDialog1.Execute then
Label1.Font.Color := ColourDialog1.Color;
end;
See also