Function Name: -> dcl_ListBox_GetSelectedItems
Return Type: -> List of Strings
But function is not returning a list.
Only returns the selected string. -> "125"
Any error or just a condition for only a selected item?
Thanks
velasquez
It looks like the code returns a single item when the SelectionStyle is not set to multiple selection. This may be a relic of the original code that was carried forward to maintain compatibility, but I have removed this special handling for the next build so it returns a list in all cases. If old code relies on this behavior, it will need to be changed in the future.
Now I understand it Owen.
But for this style would be best to keep well?
It seems to be the best way to get the selected text.
or:
(setq ItemText (dcl_ListBox_GetItemText
DuctilCAD_ExtremBlutop_ListBoxDN
(dcl_ListBox_GetCurSel DuctilCAD_ExtremBlutop_ListBoxDN)
) ;_ fim de dcl_ListBox_GetItemText
Thanks