Skip to content

dos_multilist

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Displays a sizeable Windows dialog box with a multiple-selection list box.

Syntax

(dos_multilist title prompt list [indices])

Parameters

title

A string containing the dialog box title.

prompt

A string containing the dialog box prompt.

list

A list of string values.

indices

A zero-based list of indices identifying pre-selected items.

Returns

A list of string items selected from the list if successful.

nil on cancel or on error.

Example

Command: (dos_multilist "Freeze Layers" "Select layers" '("Layer1" "Layer2" "Layer3") '(0 2))
("Layer1" "Layer3")

Clone this wiki locally