Page 1 of 1

Posted: 05 Nov 2016, 00:10
by oli_lab
Hi !

is someone can help me with the correct synthax to display proper list names in the list box ?

I did this :

pParamInfo->ParamType = ptListBox;
pParamInfo->Caption = "wave type";
pParamInfo->ListBoxStrings = "W1", "W2", "W3", "W4", "W5", "W6", "W7","W8"";

and I got that when using the module :

W1"
"W2"
"W3"
"W4"
"W5"
"W6"
"W7"
W8

that is weird.

thanks for your help

Olivar

Posted: 05 Nov 2016, 01:02
by oli_lab
this one was easy :

pParamInfo->ListBoxStrings = "W1,W2,W3,W4,W5,W6,W7,W8";

but if there is any "space" like "W1, W2... you'll get an process error.

Posted: 08 Nov 2016, 18:44
by 23fx23
maybe you sorted that out since but here i tried:

pParamInfo->ListBoxStrings = "A a,B, C,D " ;

and i don't get process error when tracing and the listboxstrings are correctly displayed with spaces on the module, ..strange

Posted: 08 Nov 2016, 19:57
by oli_lab
My module is copy intolerant.
Don't know why yet.