Download MetaTrader 5
To add comments, please log in or register
Publish your task in Freelance service and developers will execute your order.
Sherif Hasan
7224
Sherif Hasan 2014.06.20 14:29 

Hi,

Is this possible to add list/combo box as extern variable?

if yes how to add?

pls. see image i attached here.


Drazen Penic
2408
Drazen Penic 2014.06.20 15:15  

Create enum for currency list.

 

enum CurrencyEnum
  {
   EUR,  
   USD,  
   GBP, 
   AUD,
   Something_else  // Other currencies
   
  };
  
extern CurrencyEnum currency = EUR; 

 

If you add comment in line with enum element, it will be written in combo box (see last item comment and picture below) 

 

 

/
To add comments, please log in or register