Skip to content

dos_listbox

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

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

Syntax

(dos_listbox title prompt list [default])

Parameters

title

A string containing the dialog box title.

prompt

A string containing the dialog box prompt.

list

A list of string values.

default

A string containing a default string value.

Returns

The item selected from the list if successful.

nil on cancel or on error.

Example

Command: (dos_listbox "Set Current Layer" "Select a layer" '("Layer1" "Layer2" "Layer3"))
"Layer1"

Clone this wiki locally