Discussion of article "Graphical Interfaces X: Text selection in the Multiline Text box (build 13)" - page 3

 
Реter Konow:
Yeah, sure. A constructor, for example. I won't discuss it here. My blog shows it all.

Do you think it is a constructor? In my opinion, a constructor should be at least the same as it is implemented in Visual Studio.

That is, it should be a visual constructor. Approximately like this:


 
Реter Konow:

I want to make a constructor, reducing the labour-intensive GUI creation to the level of a "lazy-unlearned freeloader".


And what will this lazy person do with this GUI ? The lazy person will not be able to write the rest of the MQL-application.

There must be something else besides GUI. And this something can also be a very large part of this application. A lazy person will not be able to do it. )

 
Anatoli Kazharski:

Do you think this is a constructor? In my opinion, the constructor should be at least the same as it is implemented in Visual Studio.

That is, it should be a visual constructor. Approximately like this:


It is not necessary to repeat Microsoft's solutions. A constructor in a file, even without visual tools, has its huge advantages:


1. With copypaste you can instantly create new groups of objects.


2. Use positioning flags to instantly and accurately position them in the right place.


3. Using previously created templates, you can create the GUI layout of an application with incredible speed.


As for the lazy freeloaders, their nature requires making the process of creating Expert Advisors easier, which means that in the future it will be necessary to create a logical constructor for them to assemble their strategies. But that will come later....

 
Реter Konow:

You don't have to replicate Microsoft's solutions. A builder in a file, even without visual tools has its own huge advantages:

...


Do you think that if you have a visual constructor, your solution will be of interest to someone?


 
Anatoli Kazharski:


Do you think that with a visual designer your solution will be of interest to anyone?


That's a strange question. Maybe it won't... I don't know for sure. I'll emphasise again - making the constructor completely visual may be less effective than if it is based on templates and a few visual tools to override some properties.


Maybe you will agree with me and go this way (I know you want to create a visual studio).

 
Реter Konow:

That's a strange question. Maybe it won't... I don't know for sure. Once again, making the constructor completely visual may be a less efficient solution than making it template-based with a few visual tools to override some properties.

Do you think that if you have a visual constructor you can't make it possible to create templates in a much more efficient way than what you suggest ?


 
Реter Konow:

...

Perhaps you will agree with me and follow this path (I know you want to create a visual studio).

Perhaps I will not create such a studio. I'll finish the second stage of library development and do another project. And then we will see. )
 
Anatoli Kazharski:

Do you think that if you have a visual builder, you can't make it possible to create templates in a much more efficient way than what you suggest ?


That's exactly the point. In some cases, creating a group of primary template elements visually can (and does) take (and does) take longer than creating the same thing through a file. But in other cases, the opposite is true. I think it is necessary to combine the advantages of both approaches by adding a set of visual tools to the designer in the file. But unlike Microsoft's visual studio, the role of the constructor in a file should be much higher. It is really a very handy and easy tool in many (not all) ways.
 
Anatoli Kazharski:
It is possible that I will not create such a studio. I'll finish the second stage of library development and do another project. And then we'll see. )

Will your next project be related to graphics?
 
Реter Konow:

Will your next project be related to graphics?

No, not related. But a GUI created with the help of my library will be there. )

To complete the second stage of development of this library, I will try to fit in 3-5 articles.