Discussion of article "How to create a graphical panel of any complexity level" - page 4

 
Really useful stuff
 

Very good article.

I would like to know how I can remove the close button and fix it to the bottom?

 
Marcio Pereira :

Very good article.

I would like to know how I can remove the close button and fix it to the bottom?

I'm not going to tell you straight away. I never had the thought of turning everything upside down :)

 

When placing a Panel into these control objects, such as in the example code ControlsPanel.mq5 (given here : https://www.mql5.com/en/docs/standardlibrary/controls/cpanel ) minimizing then restoring the panel resizes all panels to be the same size as the control;

On Startup:

https://www.mql5.com/en/charts/10905636/nzdjpy-h1-go-markets-pty

After Minimize/Restore:

https://www.mql5.com/en/charts/10905637/nzdjpy-h1-go-markets-pty

Is there any way to avoid this or is nesting Panels impossible, despite the implication of the documentation?

Documentation on MQL5: Standard Library / Panels and Dialogs / CPanel
Documentation on MQL5: Standard Library / Panels and Dialogs / CPanel
  • www.mql5.com
//|                                                ControlsPanel.mq5 | //|                        Copyright 2017, MetaQuotes Software Corp. | //|                                             https://www.mql5.com | //| defines                                                          |  INDENT_LEFT                         (11)      ...
 
el_looto :

When placing a Panel into these control objects, such as in the example code ControlsPanel.mq5 (given here :  https://www.mql5.com/en/docs/standardlibrary/controls/cpanel  ) minimizing then restoring the panel resizes all panels to be the same size as the control;

On Startup:

https://www.mql5.com/en/charts/10905636/nzdjpy-h1-go-markets-pty

After Minimize/Restore:

https://www.mql5.com/en/charts/10905637/nzdjpy-h1-go-markets-pty

Is there any way to avoid this or is nesting Panels impossible, despite the implication of the documentation?

This article is an example of an alternative way to create panels.

Although I always liked the standard way (I recommend that you use the standard method)

  • [data folder]\MQL5\Experts\Examples\Controls\Controls.mq5
  • [data folder]\MQL5\Indicators\Examples\Panels\ChartPanel\ChartPanel.mq5
  • [data folder]\MQL5\Indicators\Examples\Panels\SimplePanel\SimplePanel.mq5
 

Hello Vladimir,


Can you please explain how to create multicolumn listbox

 
flagcandles :

Hello Vladimir,


Can you please explain how to create multicolumn listbox

This is something like a table to do.

 

Good afternoon!

If the panel is moved to the right edge of the chart and then the width of the chart is changed, for example, by switching on the navigator window, the panel "moves away" beyond the borders of the chart. It becomes invisible.

How can I fix this - so that the panel does not move beyond the chart boundaries.


1 2


Thank you very much.

 
Dmitriy Tyunin:

Good afternoon!

If the panel is moved to the right edge of the chart and then the width of the chart is changed, for example, by switching on the navigator window, the panel "moves away" beyond the borders of the chart. It becomes invisible.

How can I fix it so that the panel does not move beyond the chart borders?




Thank you very much in advance.

So, at a quick glance - save the size of the chart somewhere in variables. Constantly monitor the event of changing the width of the chart and the chart should be active.

 
Dmitriy Tyunin:

If the panel is moved to the right edge of the chart and then the width of the chart is changed, for example, by switching on the navigator window, the panel "moves away" beyond the borders of the chart. It becomes invisible.

How can this be corrected so that the panel does not move beyond the chart borders.

Here in this article there is a modification of the source code with support for border control and many other things for the implementation of GUI.

Применение OLAP в трейдинге (Часть 2): Визуализация результатов интерактивного анализа многомерных данных
Применение OLAP в трейдинге (Часть 2): Визуализация результатов интерактивного анализа многомерных данных
  • www.mql5.com
В первой статье, посвященной OLAP в трейдинге, мы рассмотрели общие принципы аналитической обработки многомерных данных и предоставили готовые классы MQL, позволяющие применить OLAP на практике для истории счета или торговых отчетов. Вместе с тем вывод результатов анализа был пока реализован в упрощенном текстовом виде в лог экспертов. Для...