How to read object width size?
Hello all!
I want to set an info panel on my EA, and I want it to have a rectangle as a background with text over it. Now, everything seems to be OK, but when a line of text gets larger, and my code tries to read the size, the ObjectGet() function returns 0... you can find below the code responsible of drawing the background and the text below. It is inside a function that's called on EveryTick if the user sets the info panel to activated.
You can refer to this: https://www.mql5.com/en/forum/35582
Thanks! It did worked out!
Hello all!
I want to set an info panel on my EA, and I want it to have a rectangle as a background with text over it. Now, everything seems to be OK, but when a line of text gets larger, and my code tries to read the size, the ObjectGet() function returns 0... you can find below the code responsible of drawing the background and the text below. It is inside a function that's called on EveryTick if the user sets the info panel to activated.