TheSwamp
Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: TimSpangler on March 12, 2007, 09:24:55 AM
-
I am playing around with listboxes and I was wondering does ODCL_ListView_FillList except variables?
i.e.
(setq NewList (list "test1" 'test2" "test3")
(Odcl_ListView_FillList Test_frmMain_listview1 Newlsit)
I can not seem to get this to work.
Thanks
-
listboxes and the listview control are different. If you have a listbox use (Odcl_ListBox_AddList Project1_Form1_ListBox1 StringList [as List of Strings]). Are you using the intelligent help in the OpenDCL editor? It writes the code for you.
jb
-
Thanks JB, I was using the listview when I wanted the listbox *doh* :ugly:
Yes I am using the IH that's what was throwing me, I couldn't get it to work. (If i were using the right thing I suppose it would work as expected.
Thanks.
-
No problem. I'm going to be upload some projects for anyone who wants to use / abuse / modify in the next couple of days . . ..
-
Thanks JB, I was using the listview when I wanted the listbox ................
Here's a sample of just that Tim .. http://www.theswamp.org/index.php?topic=15452.msg187717#msg187717