Sign in Join
Wiki copytemporary

Revision 1 of 2, by Beach on 4-11-2024. The page as it is now.

TColorDialog/de

TColorDialog

Ein Dialog, welcher hilft eine Farbe aus der Farbpalette auszuwählen und diese dann weiter zu verarbeiten.

Zu finden unter Dialogs tab auf dem Component Palette.

<figure> <img src="component-TColorDialog.png" title="component-TColorDialog.png" /> <figcaption>component-TColorDialog.png</figcaption> </figure>

Anwendungsbeispiel

pascal
procedure TForm1.Button1Click(Sender: TObject);
begin
  if ColourDialog1.Execute then
    Label1.Font.Color := ColourDialog1.Color;
end;

Siehe auch


From the Free Pascal wiki, page "TColorDialog/de", as it stood on 2024-04-11 after a change by Beach, 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.