Hi Jan,
The document clearly describes that the data type of the inames option is a string, not a StringArray.
http://www.originlab.com/doc/X-Function/ref/dlgChkList
Maybe you can define a simple conversion function like://////////////////////////////
function string strarray2str(StringArray sa, string sep) {
string strResult;
sasize=sa.GetSize();
loop(ii,1,sasize) {
if(ii<sasize) strResult$=strResult$+sa.GetAt(ii)$+sep$;
else strResult$=strResult$+sa.GetAt(ii)$;
}
return strResult$;
}
//sample execution of strarray2str
string MyResults$ = strarray2str(aa,"|")$;
dlgChkList inames:=MyResults$ osel:=vnStat;
//////////////////////////////
Is this okay in your application?
--Hideo Fujii
OriginLab