OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Cider on January 07, 2013, 06:00:13 AM

Title: new behavior of dcl_ListBox_GetSelectedItems?
Post by: Cider on January 07, 2013, 06:00:13 AM
Hi, it seems dcl_ListBox_GetSelectedItems on BricsCad13 (OpenDCL.13.brx) returns a list when only one item in the listbox is selected.

With OpenDCL.12.brx and BricsCad12 the function returns an atom.

Is this change in behavior intended?
Title: Re: new behavior of dcl_ListBox_GetSelectedItems?
Post by: owenwengerd on January 07, 2013, 04:18:53 PM
There was a bug in earlier versions that resulted in an atom being returned when only one item was selected, however that bug has since been fixed. If you update your runtime to the latest development build, it should always return a list.