If you are a member, Sign In. Or, you can Create a Free account now.
Enter your name and security key.
Use the public methods ForegroundColor and BackgroundColor. For example, in the OnChange event of a ColorGrid component you could do the following:
procedure TForm1.ColorGrid1Change(Sender: TObject);
Edit1.Font.Color := ColorGrid1.ForegroundColor;
Edit1.Color := ColorGrid1.BackgroundColor;
None of the components on the "Samples" page are documented.