Skip to content

dos_combolist

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

Displays a sizeable Windows dialog box with a combo-style list box. Useful when needing to select an item from a list or enter a string value.

Syntax

(dos_combolist 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 entered into the edit field or selected from the list if successful.

nil on cancel or on error.

Examples

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

Clone this wiki locally