List Box M Directive

Syntax

%M%

Description

The M directive defines a multiple selection list box. When you have multiple directives in a Format string, you separate them with semi-colons ";".

Example

cities = <<%a%
Atlanta
New York
Los Angeles
Boston
Johannesburg
Sydney
%a%
ui_dlg_box("Multi-Select List Box",<<%dlg%
{wrap=30}
[%M%.30,5cities_chosen^#cities];
{line=1,0};
This variable shows what entries in the above list box are selected.;
[%mw%.30,5cities_chosen];
%dlg%)

See Also