Is there a way to hide input variables from the user based on enum selections?

 

Hi all,

Is there a way to hide input variables from the user if he selected different enum.

For example, i have 3 different cases under one enum. Based on the user selection, i want to show some input variables and hide others. Is that possible with MQL5?


Thanks in advance.

 
No
 
Hesham Ahmed Kamal Barakat:

Hi all,

Is there a way to hide input variables from the user if he selected different enum.

For example, i have 3 different cases under one enum. Based on the user selection, i want to show some input variables and hide others. Is that possible with MQL5?


Thanks in advance.

You can achieve that by showing the configuration parameters on the chart or within a floating panel like shown here https://www.mql5.com/en/articles/4503

How to create a graphical panel of any complexity level
How to create a graphical panel of any complexity level
  • www.mql5.com
Even now most programmers, who develop indicators and Expert Advisors for the MetaTrader 5 platform, do not use the available graphical interface creation capabilities in their applications. I believe this is because Panels and Dialogs classes of the Standard Library only provide a brief technical description of methods. The language reference...
Reason: