std-strlist->dclstring | ![]() |
"Stringlist to space seperated string suitable for DCL listboxes"
STD-STRLIST->DCLSTRING
combines a list of strings to a string seperated by whitespace suitable for multiple_select list_box controls. It is the complement to STD-DCLSTRING->STRLIST
.
Note
Until AutoCAD R14 GET_TILE
and SET_TILE
with multiple listboxes had a limitation of max. ~80 selectable entries (255 chars). Robert Schweisser posted a workaround on comp.cad.autocad, see contrib/REINI_MFD.LSP. In short: use an action_tile
on the multiple listbox to add or remove the entries with your own global list of selected entries, don't use get_tile/set_tile
.
;; activate the first and second list entry. (set_tile "mlist" (std-strlist->dclstring (mapcar 'itoa '(1 2))) ; => "1 2" )
strlst: a list of strings.
A string.
None.
(std-require 'STDSTR)
Defined in STDSTR