Discussion of article "DoEasy. Controls (Part 31): Scrolling the contents of the ScrollBar control" - page 2
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
No. There is a Sort() method in CArrayObj:
Compare() method inside the method, which is what you need to override in inherited classes.
In the CBar class, whose objects are stored in the list where we are looking for the desired bar, the Compare() method is already overridden (as well as in all classes of library objects):
The structure of object search in the library is organised correctly.
What do you fail? Maybe it is simply because you have not started studying the library from the beginning?
What's not working? Maybe it's because you didn't start with the library from the beginning?
Hello. I'm not complaining, of course I haven't read all your articles. I doubt there were any. But simple things don't work and it's not even described how they should work.
Here you have standard graphic elements. By the way, there are not even examples for many basic elements (Edit in this case).
So, CreateEditField() doesn't work. It crashes in the CreateNewStdGraphObjectAndGetCtrlObj() method. Here:
Well, m_list_charts_control is empty... accordingly, nothing is added and the method returns nothing.
In general, there are enough errors. I have a feeling that nobody uses the library in practice. Take a tool with the only allowed type of filling IOC. Well, it won't work. It doesn't define it correctly. I had to edit a lot of methods.... You just go through your trading method. Moreover, the initial method in the initialisation corrects the filling, but the trading method does not pick it up.
CTrading::OpenPosition() method
Ok, we have found the correct type of filling, if it is not explicitly specified in the order.
But then we pass the original variable to the next method. What is the point? Or I don't understand something...
Hello. I'm not complaining, of course I haven't read all your articles. I doubt there were any. But simple things don't work and it's not even described how they should work.
Here you have standard graphic elements. By the way, you don't even have examples for a lot of basic elements (Edit in this case).
So, CreateEditField() doesn't work. It crashes in the CreateNewStdGraphObjectAndGetCtrlObj() method. Here it is:
Well, m_list_charts_control is empty... accordingly, nothing is added and the method returns nothing.
In general, there are enough errors. I have a feeling that nobody uses the library in practice. Take a tool with the only allowed type of filling IOC. Well, it won't work. It doesn't define it correctly. I had to edit a lot of methods.... You just go through your trading method. And the initial method in the initialisation corrects the filling, but the trade method does not pick it up.
CTrading::OpenPosition() method
Ok, we have found the correct type of filling, if it is not explicitly specified in the order.
But then we pass the original variable to the next method. What is the point? Or I don't understand something...
Does this discussion have anything to do with this particular article? No.
CreateEditField() in Engine.mqh
CreateEditField() in Engine.mqh
Well, CreateEditField() does not work. It crashes in the CreateNewStdGraphObjectAndGetCtrlObj() method.
Why are you meddling in private methods? They are needed only for the library to work.
The user needs public methods. The end user does not need the work of internal methods.
If you want to understand the work of all this, then articles describing all this kitchen are written for this purpose. It is not very clear what and how you want to do. You don't say, you don't give examples, you just point to a line taken from a huge number of them and say that it doesn't work....
In general, there are enough joints. I have a feeling that nobody uses the library in practice.
If you don't read the description and try to modify and use internal methods for yourself, then it's not the author who has enough bugs, but the one who modifies it.
And, yes, the library is still under development.
I'll take a look at the fill type, thanks.
But it's better to discuss it in the discussion of the corresponding articles - so that you can see the description at once, instead of talking about one thing in the discussion of something else.
I have no desire to go in there. If everything was working, I wouldn't even open it.
What's not working? The code, please. Just saying it doesn't work isn't productive.
What's not working for you? The code, please. Just saying it doesn't work is not productive.
I agree that it is not productive. That's why I provided maximum details in this comment https://www.mql5.com/ru/forum/438481/page2#comment_53551638.
I provided maximum details in this comment.
Maximum detail is code that you can compile, run, see what doesn't work and find and report the cause.
Without tests, articles are not published. Everything works in tests. That's why I'm asking for the third time: what are you doing and what doesn't work there. The code, please.