Author Topic: new behavior of dcl_ListBox_GetSelectedItems?  (Read 684 times)

Cider

  • Member
  • *
  • Posts: 12
new behavior of dcl_ListBox_GetSelectedItems?
« on: January 07, 2013, 07: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?

owenwengerd

  • Administrator
  • Hero Member
  • *****
  • Posts: 2592
    • Outside The Box
Re: new behavior of dcl_ListBox_GetSelectedItems?
« Reply #1 on: January 07, 2013, 05: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.