Getting and Setting CustomColors on RVAction ColorDialog

General TRichView support forum. Please post your questions here
Post Reply
mgoergen
Posts: 11
Joined: Wed Nov 09, 2005 8:06 am

Getting and Setting CustomColors on RVAction ColorDialog

Post 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
Sergey Tkachenko
Site Admin
Posts: 17606
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Denoson
Posts: 71
Joined: Tue Jan 24, 2006 9:25 pm
Contact:

Colors

Post by Denoson »

See: RVAControlPanel.ColorDialog

You may Save & Load ColorDialog.CustomColors (TStringList)
Post Reply