Chart property to disable Toolbar on detached charts?

 

Hi, 

I am coding an indicator which uses a de-tached chart.

What is the chart_property to disable the toolbar on a detached chart?


I don't want to have to right-click it and select "toolbar" item to disable. I need to do it programatically but I couldn't find the property to disable/enable the toolbar on detached charts.

(I looked for it here: https://www.mql5.com/pt/docs/constants/chartconstants/enum_chart_property )



Thanks in advance

Documentação sobre MQL5: Constantes, Enumeradores e Estruturas / Constantes de Gráfico / Propriedades de Gráfico
Documentação sobre MQL5: Constantes, Enumeradores e Estruturas / Constantes de Gráfico / Propriedades de Gráfico
  • www.mql5.com
Plotagem do gráfico de preços. Se estiver definido o valor false, será desativada a plotagem de quaisquer atributos do gráfico de preços e serão excluídos todos os recuos das bordas do gráfico, isto é: escalas de tempo e preço, barra de navegação rápida, eventos de Calendário, rótulos de transações, dicas de indicadores e barras, sub-janela de...
 
rrocchi:

Hi, 

I am coding an indicator which uses a de-tached chart.

What is the chart_property to disable the toolbar on a detached chart?


I don't want to have to right-click it and select "toolbar" item to disable. I need to do it programatically but I couldn't find the  property to disable/enable the toolbar on detached charts.

(I looked for it here: https://www.mql5.com/pt/docs/constants/chartconstants/enum_chart_property )



Thanks in advance

I don't think it's possible currently, unless using WinAPI.
 
rrocchi:

Hi, 

I am coding an indicator which uses a de-tached chart.

What is the chart_property to disable the toolbar on a detached chart?


I don't want to have to right-click it and select "toolbar" item to disable. I need to do it programatically but I couldn't find the property to disable/enable the toolbar on detached charts.

(I looked for it here: https://www.mql5.com/pt/docs/constants/chartconstants/enum_chart_property )



Thanks in advance

I have worked out how to achieve this here:

https://www.mql5.com/en/forum/337940#comment_15974572

Removing Toolbars programatically
Removing Toolbars programatically
  • 2020.04.18
  • www.mql5.com
Is there a way to remove (or toggle) the toolbar on an undocked chart in MQL5...
Reason: