ListBoxMulti

<< Click to Display Table of Contents >>

Navigation:  IWML > Tags > Controls >

ListBoxMulti

The ListBoxMulti control in IWML provides a scrollable list of options where users can select multiple items at once.

 

Unlike ListBox, which supports only single selection, ListBoxMulti is designed specifically for multi-selection behavior and avoids interface inconsistencies that could arise if selection mode changed dynamically.

 

Use Ctrl or Shift keys while clicking to select multiple items.

 

Syntax

 

ListBoxMulti[:Name]

 Items:

   ...

 ]

 

Name — optional identifier to access the control in code.

Items — list of selectable entries.

 

Properties

 

AutoHeight — determines the height behavior:

-1: use explicit Height

0: auto-size to match item count

>1: fixed row count

Sort — sorting method for entries (asc, desc, none)

Values — optional values mapped to items

Selection (JavaScript) — accessible via .Selected, returns an array of selected items

 

Try It

 

ListBoxMulti:Languages

 AutoHeight: 5

 Sort: asc

 Items:

   Python

   JavaScript

   C++

   Rust

   Go

   Kotlin

   TypeScript

 ]

 Values:

   py

   js

   cpp

   rs

   go

   kt

   ts

 ]