OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: andrew on October 28, 2010, 10:25:19 AM

Title: displaying list in listbox help
Post by: andrew on October 28, 2010, 10:25:19 AM
i completely forgot how to do this
can someone please help me

i have an old lisp that uses dcl and i want to change it to use odcl
but i cant remember how to get it to work

attach are the files im working with
and you will see where im going coo coo

thanks
Title: Re: displaying list in listbox help
Post by: Fred Tomke on October 28, 2010, 10:31:51 AM
Hi, andrew

(defun c:test ()
  (defun c:Proj_Form_Oninitialize ()
    (dcl_Control_SetList Proj_Form_ListBox (list "A" "B" "C"))
  );
  (dcl_form_show Proj_Form)
); test

Did you meant this?

Fred
Title: Re: displaying list in listbox help
Post by: andrew on October 28, 2010, 10:40:07 AM
GAH! :o

form show, thats what i forgot

Fred you sir are a genius!

thank you