Discussion of article "Adding a control panel to an indicator or an Expert Advisor in no time" - 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
Well, that's what I did, nothing works. The panel is still white as before.
The compiler says Macro redifinition, i.e. like overdivided....
Use my first advice, just replace the colours in the original file and recompile the EA.
To remember how I redefined the colours in my panel, I need to dig around, but I don't have time right now.
For History:
Forum on trading, automated trading systems and testing trading strategies
Why does the panel move away when updating Expert Advisor settings?
Andrey Khatimlianskii, 2016.03.10 13:17
Approximately like this:
Can you give me a simple example of how CWndContainer should be twisted to display at least some square on the chat screen using .Show()?
I have tried everything, for example, like this, but no error, no image, no sign of .Show() working
Can you give me a simple example of how CWndContainer should be twisted to display at least some square on the chat screen using .Show()?
I have tried everything, for example, like this, but no error, no image, no sign of .Show() working.
I don't understand the logic here:
What if I have a Button object and it doesn't have a .Show() method.
Can't it be contained in a container?
Why CWndContainer? What should we get in the end?
A panel with Buy - Sell buttons and some more notifications about the state of the Expert Advisor. But it should be dragged on the screen with the mouse, but the button is not dragged.
After creating an object (button, list, text field, etc.) this object should be added to the panel (Add method). Then when dragging the panel, all objects will be moved together with the panel.
Like this?
After creating an object (button, list, text field, etc.) this object should be added to the panel (Add method). Then, when dragging the panel, all objects will be moved together with the panel.
Or is this not "adding to the panel"?
So a container is not a panel?
Or is it not "adding to a panel"?
So a container is not a panel?
Using the PanelDialog2.mqh file from the article as an example:
This file creates the elements for a dialogue panel. The sign of the panel is the CDialog class.
The CDialog class is a class of the Dialog combo control.
Description
The CDialog class is designed to visually combine a group of functionally related heterogeneous elements.