new behavior of dcl_ListBox_GetSelectedItems?

Started by Cider, January 07, 2013, 06:00:13 AM

Previous topic - Next topic

Cider

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?

owenwengerd

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.