Discussion of article "Graphical Interfaces I: Preparation of the Library Structure (Chapter 1)" - page 4

 
Igor Volodin:

...

I mean, in short, I don't see the benefit to me.

The reasoning is clear. A common sense way of looking at things. )

Igor Volodin:
Ask Renat for functions of working with the system buffer and you can draw everything.

I haven't approached this problem yet. I need to test it, draw conclusions and then I will formulate a thought.

 

A couple of questions.

1. Where to get the latest version of the library? Judging by posts on the forum (including in other threads about self-descriptive interfaces) it has already changed after publication. Have the sources in the article been updated?

2. general question on all available control libraries (there are at least three of them): is saving and loading a form to/from a file implemented here or somewhere else? I've seen talks about it, but no implementation.

 
Stanislav Korotky:

A couple of questions.

1. Where to get the latest version of the library? Judging by posts on the forum (including in other threads about self-descriptive interfaces) it has already changed after publication. Have the sources in the article been updated?

2. general question on all available control libraries (there are at least three of them): is saving and loading a form to/from a file implemented here or somewhere else? I've seen talk about it, but no implementation.


At the moment the latest version can be downloaded from this article: GUI X: Updates for Painted Table and Code Optimisation (build 10). This is not the final version yet, the library is under development.

It isn't. The library in this article series does not yet implement saving and loading from a file. I can't say when it will be either.

 
Anatoli Kazharski:


Currently the latest version can be downloaded from this article: GUI X: Updates for the drawn table and code optimisation (build 10). This is not the final version yet, the library is under development.

It isn't. The library in this article series does not yet implement saving and loading from a file. I can't tell you when it will be implemented.

I see, thank you. We will wait (or write it ourselves ;-) ).

The only nuance on the code - is it too cruel to write comments in Russian? The code is attached to articles in all languages.

 
Stanislav Korotky:

1. I see, thank you. We will wait (or write ourselves ;-) ).

2. The only nuance on the code - isn't it too cruel to write comments in Russian? The code is attached to articles in all languages.

1. Offer your vision, how you think it is better to do.

2. In all articles in other languages the comments in the code (both in the article and in the files) are translated into English by MQ translators.

 
Anatoli Kazharski:

2. In all articles in other languages, the comments in the code (both in the article and in the files) are translated into English by MQ translators.

Now the last article is translated into Spanish, and the code with Russian comments is attached.
 
Stanislav Korotky:
Now the last article is translated into Spanish, and there is a code with Russian comments attached.
They probably forgot to change the code. I've just looked at the Japanese files, and the comments are in English.
 
Can you tell me if it is possible to set "rubberisation" of elements and their groups? For example, how to make the top of the window a panel with controls with a fixed height, and the rest of the space should be occupied by another element (for example, a table, graph, etc.).
 
Stanislav Korotky:
Can you tell me if it is possible to set "rubberisation" of elements and their groups? For example, how to make the top of the window a panel with controls with a fixed height, and the rest of the space should be occupied by another element (for example, a table, graph, etc.).

You can see examples of implementation in these articles:

//---

//---

But this is still an intermediate version of the implementation of "rubber" elements. And not all elements can be made rubbery now. At the moment the library is on the second stage of development. That is, gradually all elements will be transferred to the mode when they will be drawn on one separate graphical object. Now they are collected from primitive objects provided by the terminal system and it created some limitations to make everything of acceptable quality.

 

Greetings Anatoli Kazharski. In your Element.mqh file in the ChangeObjectColor function the m_chart_id object is used. But I understand that the connection is lost in the Objects.mqh file. I get the error "m_chart_id - undeclared identifier" when compiling. I have not found anything about this (m_chart_id) in the article. Thank you in advance for your answer.


P.S. I am just learning OOP. I understand it by your examples. Thank you for your work.

Anatoli Kazharski
Anatoli Kazharski
  • www.mql5.com
Опубликовал статью ZigZag всему голова (Часть II): Примеры получения, обработки и отображения данных В первой части был описан модифицированный индикатор ZigZag и класс для получения данных индикаторов такого типа. Теперь мы покажем как создать индикаторы на основе этих инструментов, а также напишем эксперта для тестов, который будет заключать...