Repository navigation
dos_orderlist
Dale Fugier edited this page Jul 1, 2026
·
1 revision
Displays a sizeable Windows dialog box with an orderable list box. Items can be moved by either dragging or by using the top/up/down/bottom buttons.
(dos_orderlist title prompt list [strings])
title
A string containing the dialog box title.
prompt
A string containing the dialog box prompt.
list
A list of string values.
strings
If not specified or T, then an ordered list of strings is returned. If nil, then a list of integers identifying the new sort order is returned
A list of string items selected from the list if successful.
nil on cancel or on error.
Command: (setq list1 (list "Layer1" "Layer2" "Layer3" "Layer4" "Layer5" "Layer6"))
("Layer1" "Layer2" "Layer3" "Layer4" "Layer5" "Layer6")
Command: (dos_orderlist "Layers" "Drag to reorder layers" list1)
("Layer3" "Layer4" "Layer5" "Layer6" "Layer1" "Layer2")