I have a grid and want the users to be able to set the dynamic fore and back color. I can get the color dialog box (GETCOLOR()) but it returns a single numeric value while the dynamic requires the character string in RGB format.
I know I can take the RGB() and convert the 3 individual values to the single numeric (for fore color and back color - why one set of properties is numeric and the other RGB character is beyond me). However, I cannot figure out how to take the single numeric value provided by GETCOLOR() and have it converted to the 3 values in RGB format.
Anyone have any ideas on how to do this? And why there is only one conversion direction RGB->##? The 'why' is not as important as the 'how'.
Thanks much in advance for any and all help.
I know I can take the RGB() and convert the 3 individual values to the single numeric (for fore color and back color - why one set of properties is numeric and the other RGB character is beyond me). However, I cannot figure out how to take the single numeric value provided by GETCOLOR() and have it converted to the 3 values in RGB format.
Anyone have any ideas on how to do this? And why there is only one conversion direction RGB->##? The 'why' is not as important as the 'how'.
Thanks much in advance for any and all help.