Julia Dudascik (Contractor)
2016-08-05 21:02:36 UTC
I am trying to add an array of items (type char*) to FXListBox. I think the
function I want is fillItems?
When I pass it my char* array, however, the list box only shows the first
item in the array. I have also tried FXString arrays, etc. Each ends with
the same result. The only way I can get it to work is if I do this
"fillItems("item1\nitem2"). The problem is that most of my lists will have
char * arrays and it would be easier if I could use those existing arrays.
1.) How do I add a char* array for my list of items to FXListBox?
Thanks
Julia
function I want is fillItems?
When I pass it my char* array, however, the list box only shows the first
item in the array. I have also tried FXString arrays, etc. Each ends with
the same result. The only way I can get it to work is if I do this
"fillItems("item1\nitem2"). The problem is that most of my lists will have
char * arrays and it would be easier if I could use those existing arrays.
1.) How do I add a char* array for my list of items to FXListBox?
Thanks
Julia