[fpc-pascal] Get RGB Color with TColor
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Feb 22 11:28:51 CET 2006
On Tue, 21 Feb 2006 18:28:37 -0800 (PST)
Ryo T <ryo_hakashi at yahoo.com> wrote:
> How to get Red, Green, Blue value with TColor
> (TColorDialog object) in Delphi ?
Myabe the same as in Lazarus:
Red:=Graphics.Red(ColorDialog.Color);
Green:=Graphics.Green(ColorDialog.Color);
Blue:=Graphics.Blue(ColorDialog.Color);
or
RedGreenBlue(ColorDialog.Color,Red,Green,Blue);
Mattias
More information about the fpc-pascal
mailing list