TColorDialog
From Free Pascal wiki
Jump to navigationJump to search
│
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