Discussion of article "Graphical Interfaces X: The Multiline Text box control (build 8)" - page 2

 
Реter Konow:

...

Added:

I've downloaded the library, but honestly have no idea how to do it all. There are no instructions.

You have difficulty placing folders with files from the archive in the same directories, as they are presented there?

That's all you need to do. A great number of MetaTrader users do this every day, downloading files from this site to their computers. Try it yourself. There is a first time for everything. )

 
Anatoli Kazharski:

Do you have difficulties placing the folders with files from the archive in the same directories as they are presented there?

That's all you need to do. A great number of MetaTrader users do this every day, downloading files from this site to their computers. Try it yourself. There is a first time for everything. )

Yes, I'm a complete ignoramus and a beginner. :)

So please answer the questions I asked you. Please.)

 
Реter Konow:

By the way, I did not make any statements. I read the article, but didn't understand the main things (there is a lot of code and the view is lost).

If you can, please answer a few questions:

  1. In the item test application, an array initialised with strings is declared. Does this mean that the strings go to the canvas from it, or can they be printed directly to the canvas?
  2. The top input field is on its own and has no relation to the bottom canvas? So the text is not transferred from it to the web? Is the point of it to increase the number of input characters?
  3. If the canvas text is initialised inside the program and not written on the canvas, why do you need a running cursor and adding lines to the text?
  4. Is it possible to erase text on the web with the cursor and add from the keyboard?

You need to read carefully and thoughtfully. Otherwise you will not learn anything, but only waste your time (not only yours, but others' as well).

  1. You can print on the canvas.
  2. The upper input field is self-contained.
  3. You can initialise the text inside the program, as well as enter it into the input field from the keyboard. You can even enter it programmatically at runtime. Why this is necessary, everyone decides for himself. It is just another possibility.
  4. You can do both.

 
Anatoli Kazharski:

You need to read carefully and thoughtfully. Otherwise you will not learn anything, but only waste your time (not only your own, but others' as well).

  1. You can print on the canvas.
  2. The upper input field is self-contained.
  3. You can initialise the text inside the program, as well as enter it into the input field from the keyboard. You can even enter it programmatically at runtime. Why this is necessary, everyone decides for himself. It is just another possibility.
  4. You can do both.

3,4 - It's a pity you didn't demonstrate it on the video (text input on the canvas). That's the most interesting thing!
 
The work is just tremendous. Thank you very much to the author, I will definitely use the library in my projects. It seems to me that a work of this scale could really use a standard-format helpup. Is it possible to hope for its appearance?
 

Andrei Novichkov:
Работа просто колоссальная. Огромное спасибо автору, обязательно буду использовать библиотеку в своих проектах. Мне представляется, что работе такого масштаба очень не помешал бы хэлп в стандартном формате.

Is it possible to hope for his appearance?

Thank you.

Yes, there will be a help. Work on it will start after the library is filled with all the basic functionality. There's still a little bit left.

 
MetaQuotes Software Corp.:

New article Graphical Interfaces X: The Multiline Text box control (build 8) has been published:

Author: Anatoli Kazharski

I've been messing with this for the past 3 days and there was a article.. So informative cut the time down dramatically thank you so much!!

 

Hello.

I have readed all your articles.

I have downloaded the code attached.

As always it is very well commented......but it's commented in Russian!:(

Anyway , great compliments for your work.

 

How do I activate a text box so that I can enter new text directly without using the mouse?


It is a single line element. Which should act as a command input field.

Which forwards the command after each Enter.

After pressing the Enter key, the text box loses the input status


Unfortunately I can't find a function for this in TextBox.mqh or ElementBase.mqh

 

Have a look at the author's page:

There is a new version of the text field and two general updates of the overall code and two not yet translated articles, maybe there is something there, otherwise write him a private mail preferably in German and the translations in English and Russian.