erich.wanker Posted July 28, 2017 Share Posted July 28, 2017 Hello folks how can i add colors? .. i found "Palette" (TStrings) .. but dont know how to handle.. i want to have 64 different colors and at last white to black (a set of gradient-grayscal) ThanX for suggestions Erich Link to comment Share on other sites More sharing options...
Sherzod Posted July 28, 2017 Share Posted July 28, 2017 Hi, Yes, you can use Palette property for this. Like this for example: Best regards, Link to comment Share on other sites More sharing options...
freedowsRoO Posted December 6, 2019 Share Posted December 6, 2019 Hello! I use the property palette and save the color that i pick im my databse, how can i positioning my saved color when i use Palette property? I dont find any property like "itemindex". Link to comment Share on other sites More sharing options...
Sherzod Posted December 7, 2019 Share Posted December 7, 2019 7 hours ago, freedowsRoO said: Hello! I use the property palette and save the color that i pick im my databse, how can i positioning my saved color when i use Palette property? I dont find any property like "itemindex". Hello, Please explain in more detail. Link to comment Share on other sites More sharing options...
freedowsRoO Posted December 7, 2019 Share Posted December 7, 2019 7 hours ago, Sherzod said: Hello, Please explain in more detail. For example, i have a green and a yellow color in my palette and i save the color that i picked in my database. I want to positioning this color in my palette along with my record. Link to comment Share on other sites More sharing options...
Sherzod Posted December 7, 2019 Share Posted December 7, 2019 5 hours ago, freedowsRoO said: For example, i have a green and a yellow color in my palette and i save the color that i picked in my database. I want to positioning this color in my palette along with my record. Do you want to select a specific (index) color in UniColorPalette? 1 Link to comment Share on other sites More sharing options...
freedowsRoO Posted December 9, 2019 Share Posted December 9, 2019 On 12/7/2019 at 1:41 PM, Sherzod said: Do you want to select a specific (index) color in UniColorPalette? Yep..... Something like 'indexof' of combobox. Link to comment Share on other sites More sharing options...
Sherzod Posted December 9, 2019 Share Posted December 9, 2019 3 minutes ago, freedowsRoO said: Yep..... Something like 'indexof' of combobox. Can you provide your Palette (TStrings)? Link to comment Share on other sites More sharing options...
freedowsRoO Posted December 9, 2019 Share Posted December 9, 2019 34 minutes ago, Sherzod said: Can you provide your Palette (TStrings)? Sure, here is it: EA4335 67C2EF FBBC05 077A41 EA9E35 1C1C1C 808080 4169E1 1E90FF 4682B4 20B2AA 66CDAA 2E8B57 DAA520 A0522D DEB887 D2691E BA55D3 DA70D6 B22222 A52A2A 9dd478 Link to comment Share on other sites More sharing options...
Sherzod Posted December 9, 2019 Share Posted December 9, 2019 What "values" of the colors are stored in your database? Link to comment Share on other sites More sharing options...
Sherzod Posted December 9, 2019 Share Posted December 9, 2019 1 hour ago, freedowsRoO said: Sure, here is it: EA4335 67C2EF FBBC05 077A41 EA9E35 procedure TMainForm.UniButton1Click(Sender: TObject); begin UniColorPalette1.JSInterface.JSCall('select', ['FBBC05']); end; ? 1 Link to comment Share on other sites More sharing options...
freedowsRoO Posted December 12, 2019 Share Posted December 12, 2019 Sorry for the late reply, i will try it. Link to comment Share on other sites More sharing options...
freedowsRoO Posted December 14, 2019 Share Posted December 14, 2019 It work's thanks 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now