Page 1 of 1

Getting and Setting CustomColors on RVAction ColorDialog

Posted: Thu Feb 02, 2006 6:33 am
by mgoergen
Hi there

I use RVA to let User change color of Text. How can I control the CustomColors on the the ColorDialog? Is it possible to access this values?

I use normal TColorDialog and set this Parameter and tried the OnClose and OnShow Event but with now luck. The same Colors I set are also received so there is no change.

So I hope anybody has an idea and maybe some line of example

regards
Mirko

Posted: Thu Feb 02, 2006 9:10 am
by Sergey Tkachenko
Just create a ColorDialog and assign it to the ColorDialog property of TRVAControlPanel component.
(Note: there should be only one instance of TRVAControlPanel, you can place it on the main form).

If this property is assigned, the specified color dialog is used.
If not assigned, temporal dialogs are created.

Colors

Posted: Fri Feb 10, 2006 10:06 pm
by Denoson
See: RVAControlPanel.ColorDialog

You may Save & Load ColorDialog.CustomColors (TStringList)