How to use standard TColorDialog in TrvActionbackground

General TRichView support forum. Please post your questions here
Post Reply
DevThomas
Posts: 4
Joined: Tue Sep 14, 2010 1:21 pm

How to use standard TColorDialog in TrvActionbackground

Post by DevThomas »

We need to use a standard TColorDialog in TrvActionbackground and in TRvActionTableProperties. Setting TRvaControlPanel.ColorDialog did not have any effect. How can we force TrvActionbackground and TRvActionTableProperties to use a standard TColorDialog when clicking on the color combo?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, different styles of color pickers in dialog windows are not supported yet.
A standard color dialog is displayed only when you click "More Colors..." in the combo box.

Assigning RVAControlPanel.ColorDialog does have an effect. Without this assignment, a new color dialog is created every time when the user clicks "More Colors". With this assignment, the specified ColorDialog component is used every time, so a set of custom colors is preserved
(you can see it in the ActionTest demo: a color dialog with 16 shades of gray is assigned to RVAControlPanel1.ColorDialpg)
Post Reply