Description or constant.
-
I can create the constants correctly for my EA, but some items I don't understand how to create constants so that users can put colors like for example in a line.

But in EA it is displayed like this:

I would like to give it a name, for example, "Select the color of the thread".
How can I change this?
-
You can insert constants to drop-down menus just like plain fields, by right-clicking:

However, the drop-downs are usually some specific data type, so you have to do some googling
https://www.google.com/search?q=mql4+color+datatype&oq=mql4+color+datatype&aqs=chrome..69i57j33l3.9319j0j7&sourceid=chrome&ie=UTF-8
->
https://docs.mql4.com/basis/types/integer/color
->
https://docs.mql4.com/constants/objectconstants/webcolors
->
The datatype is integer, and the colors have their own codes, clrRed for example.

-
The way you have made it will only give you the possebility to change the color of your specific object an this option would be added automatic In your settings without the possibility to move this setting in the order or to assign it to other objects.
If you want to manage your settings by order or want to adress your setting to multiple Objekts you need to define your own constant but here is also a problem. You cann only define a datatype int to use color. If you define as exable ClrRed it will be interpreted als a Number 255. In your Settings you will only see this number und you can only change this number with an other number to define an other color.