Discussion of article "DoEasy. Controls (Part 2): Working on the CPanel class"

 

New article DoEasy. Controls (Part 2): Working on the CPanel class has been published:

In the current article, I will get rid of some errors related to handling graphical elements and continue the development of the CPanel control. In particular, I will implement the methods for setting the parameters of the font used by default for all panel text objects.

Compile the EA and launch it on the chart:


As we can see, all the necessary objects interact with the mouse, the panel now has the frame, while the font on it is displayed in bold as intended. No objects now disappear when switching charts, but they also do not save their new location. To fix this, we need to write object data to file and read it if necessary. I will do this as soon as I have all objects with their planned inheritance hierarchy.

Author: Artyom Trishkin

Reason: