Libraries: EasyAndFastGUI library for creating graphical interfaces - page 21
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
And how to do the same without editing the library?
In Element.mqh file in CElement constructor replace m_font and m_font_size values.
And how to do the same without modifying the library?
And what is the problem for each element to specify these values when creating it?
The EasyAndFastGUI library for creating graphical interfaces:
Author: Anatoli Kazharski
Hey together,
I tried this source, it worked. Really great work, thank you!
I tried to adapt it to my needs and it didn't worked. After hours of debugging i found it:
When the filename of the ExampleEA.mq5 is longer than 14 characters, than during the creation of the combobox, the function ResourceCreate() inside the Canvas class fails with error 4016 (resource not found).
Is this behaviour known? Since i don't know the exact circumstances leading to this error i try to find out how to prevent such errors.
Update: I found a corresponding discussion with a quick solution here.
After one of the updates, the buffer for the global terminal variable string was reduced and it has been generating a critical error for some time now.
It can be cured by a quick hack without digging into the code, just by renaming the Expert Advisor startup file, shortening its name
for example from MacdSampleCFrames.ex5 to just Macd.ex5.
How can I set text label parameters of Anchor(ANCHOR_RIGHT)?
Is bug! ?
Gustavo Enedir Hennemann:
Hello,
I didn't get it. What to do?
Replace from m_main to CElementBase:: where the warning appears.
Hi @Mikhail Sergeev, @Paulo Campello!
Guys,
I have reduced number of warnings from 18 down to 6.
And those 6 boil down to 4 following types of problems. Can you pls advise how to properly correct them?
1. How do I correctly replace it with "CElementBase::"?
2. And here - when I replace "el." with "CElementBase::" - there is a new compilation error saying "IsAvailable - access to non-static member of function" - how do you solve it correctly?
3. Same line: when I replace "el.IsLocked()" with "CElementBase::IsLocked" : error "IsLocked - access to non-static member of function"
4. What to replace "m_windows[0].IsLocked()" with?
Pls, help! It would be great to use this library. But we need to solve these few things first.
Thank you!