![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Greetings,
I did some testing with .ZOrder method in AppDialog, and I found out that no matter where I put the Button.ZOrder call, it does not set the ZOrder of the object actually, so I looked that part up in WndObj.mqh, and i saw that the
is actually empty. I've added the missing part like this:
so when I call the method it sets the ZOrder properly, but this might not be the way it should have been solved. I wanted to add an override specifier to my actual code without tampering the base code, but with this:
the compiler threwn a 'method is declared with override specifier but does not override any base class method' and a 'm_zorder - undeclared identifier' error at me.
How could I override the method properly?