OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: andrew on January 07, 2010, 12:02:19 PM

Title: is there an easy way to get all items in a list box?
Post by: andrew on January 07, 2010, 12:02:19 PM
i have 2 list boxes and with a pres of a button text in list box 1 moves over to list box 2
what im looking to do now is press another button and have everything in listbox 2 written to a text file
the writing to a text file isnt the problem, its being able to get all the items in listbox 2 at once.

anyone know of a clever way to achieve this?

thanks
Title: Re: is there an easy way to get all items in a list box?
Post by: BazzaCAD on January 07, 2010, 12:13:53 PM
Is this what you're logging for ?
(dcl_Control_GetList Untitled_Form1_ListBox1)
Title: Re: is there an easy way to get all items in a list box?
Post by: andrew on January 07, 2010, 12:49:27 PM
hmm i dont know, what control browser is that found under?


yep thats it thanks
Title: Re: is there an easy way to get all items in a list box?
Post by: BazzaCAD on January 07, 2010, 01:49:34 PM
Quote from: andrew on January 07, 2010, 12:49:27 PM
hmm i dont know, what control browser is that found under?

Double click your ListBox, then select the "Lisp" Property in the left column...