How to use standard TColorDialog in TrvActionbackground
How to use standard TColorDialog in TrvActionbackground
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?
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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)
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)