Jump to content

Recommended Posts

Posted

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

  • 2 years later...
Posted

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".

Posted
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.

Posted
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.

Posted
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?

  • Like 1
Posted
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

Posted
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;

?

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...