Page 1 of 1
How to use standard TColorDialog in TrvActionbackground
Posted: Tue Sep 14, 2010 1:40 pm
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?
Posted: Wed Sep 15, 2010 5:11 pm
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)