How to add Combo Box as extern variable? see pic!

 

Hi,

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

if yes how to add?

pls. see image i attached here.


 

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) 

 

 

Reason: