Discussion of article "Graphical interfaces X: Advanced management of lists and tables. Code optimization (build 7)" - page 10

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Why can't you? You can. This is a class of your MQL-application (indicator or EA). Everything is the same.
You can get the value from the input field like this:
No, Anatoly, you misunderstood me, or rather I did not express myself correctly)))) I did not ask whether it is possible or not, I meant that I would not want to shove it (trading algorithm) in, let the interface work separately!
But what I'm really interested in is how to get this data from outside the CProgram class? And now I repeat, I don't understand OOP very well! How should I organise the structure of the program? How to link the EA with the interface, I can not understand! All objects of the CProgram class are in the "Menu.mqh" file, there is no access from the EA to them, but there must be some link between them!? Or how to make it, can you tell me?
No, Anatoly, you misunderstood me, or rather I did not express myself correctly)))) I did not ask whether it is possible or not, I meant I would not want to shove it (trading algorithm), let the interface work separately!
I would do it this way. But if this option does not suit you, then make the necessary class members public to have access to them.
I would do it this way. But if this option doesn't suit you, then make the necessary class members public so that you can access them.
I'm so stupid! And you didn't tell me :)
You can make public methods to get the necessary information, so as not to make the whole class fields public! And in the EA itself, in the event handler, on the parameter sparam to understand what was clicked in the interface, I know how I know what buttons and fields I called! Yesterday I spent the whole day trying to somehow catch up, and today I got up in the morning and as it dawned on me! ))
how can I delete a certain row in a table?
At the moment only by rebuilding the entire table using the CTable::Rebuilding() method and reinitialising it.
In one of the next updates I will add a method for deleting a separate row of the table.
Currently only by rebuilding the whole table completely using the CTable::Rebuilding() method and reinitialising it.
In one of the next updates I will add a method to delete a separate row of the table.
super! when is the next update approximately?
Hi Anatoli,
I could not find licensing information for your library.
Can I use your library to develop commercial products?
I would like to use it for the user interface in the EA.
...
Can I use your library to develop commercial products?
I would like to use it for the user interface in the EA.
Great!
Thank you for the excellent work and really nice library.