Discussion of article "Graphical Interfaces XI: Integrating the Standard Graphics Library (build 16)" - page 7
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
I reproduced it. I have to resize the panel when the slider is at the top of the panel. After that the slider and all elements on the panel hangs.
Hello
has anyone found the cause of the glitch in the post above?
I get the error"array out of range in 'WndEvents.mqh' (287,72)"
Hello
Has anyone found the cause of the glitch in the post above?
I get the error "array out of range in 'WndEvents.mqh' (287,72)"
stick a check for out of range in there and that's it.
just put an overrun check in there and that's it.
It's an interesting idea, but how?
12 elements, there should be no out-of-range, theoretically.
(TradePanelTest example from the article series)
It's an interesting idea, but how?
12 elements, there should be no out-of-range, theoretically.
(TradePanelTest example from the article series)
Well, if there is an error, it means there is an error, run it with a debugger, it is the surest way to see what is going on there.
Well, if the error is present, it means it's there, run it with a debugger, it's the surest way to see what's going on there.
I moved the project to a folder with a different name and renamed the indicator file, it works without errors.
I was born on Monday :O)
In recent builds, we have added a message to the compiler for those cases when an ancestor method is overloaded in a descendant:
deprecated behavior, hidden method calling will be disabled in a future MQL compiler versionExample
In this case, the func(int) function of the SFoo ancestor is called in the SBar descendant class, because the compiler did not find it in the descendant. The descendant has only the func(double) function, and the compiler tries to find a function with a suitable parameter in the inheritance tree.
That is, the MQL5 compiler performs overloading instead of overriding the method in the descendant. At the beginning of the language development, this relaxation of the MQL5 compiler was not considered critical. But it may be changed in the future, so now an explicit warning is issued to developers of MQL5 programmes to take into account and correct their codes.
Strictly speaking, overriding is a bit broader concept, you can search the difference between overloading and overriding on the Internet
.
I don't understand anything, but it's very interesting! The compiler swears at several functions, here's one of them, where does it dislike it?
I don't understand anything, but it's very interesting! The compiler swears at several functions, here's one of them, where does it dislike it?
Because there is also
I tried to change it to
it's ok )
And the same will have to be done with the others )