列リスト ボックスにリストを追加するにはどうすればよいですか?構文が混乱を招いているので、以下のようなことを試してみました。しかし、うまくいきませんでした。
colbox << append(dt << mylist);
高度な統計モデリング消費者および市場調査実験計画法Re:列リストボックスにリストを追加するにはどうすればよいですか?これは、スクリプトインデックスから取得した例ですが、必要なものを示すために少し変更を加えています。
Names Default To Here( 1 );
New Window( "Example",
fontobj = lb = List Box({},
width( 200 ),
max selected( 2 ),
nlines( 6 )
)
);
theList = {"First Item", "Second Item", "Third Item"};
lb << Append( theList );Re:列リストボックスにリストを追加するにはどうすればよいですか?これは正しく機能します。私のアプリケーションにはリストのリストがありますが、何らかの理由で機能しません。 少し編集された以下のコードを参照してください。
Names Default To Here( 1 );
New Window( "Example",
fontobj = lb = List Box({},
width( 200 ),
max selected( 2 ),
nlines( 6 )
)
);
theList = {{"First Item", "Second Item", "Third Item"},{"Fourth Item", "Fifth Item", "Sixth Item"}};
<BR />//Im trying to pull the second list from the list of lists
for(i=1, i=3, i++,
lb << Append( theList[2][i] );
);
Re:列リストボックスにリストを追加するにはどうすればよいですか?Forループにエラーがあります。そのはず
for(i=1, i<=3, i++,
lb << Append( theList[2][i] );
);
Re:列リストボックスにリストを追加するにはどうすればよいですか?ループする必要はありません:
Names Default To Here( 1 );
New Window( "Example",
fontobj = lb = List Box({},
width( 200 ),
max selected( 2 ),
nlines( 6 )
)
);
theList = {{"First Item", "Second Item", "Third Item"},{"Fourth Item", "Fifth Item", "Sixth Item"}};
//Im trying to pull the second list from the list of lists
lb << Append( theList[2] );