Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Adds a line to the list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ListDialog | 4.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
title | The title to show. | "Hello World" | |
tag | The tag, e.g. the record ID. | "1234" | Optional |
Header | Pass 1 to make this an header item, which is shown differently. | 1 | Optional |
Returns OK.
Clears list and adds three lines:
MBS( "ListDialog.ClearList" )
MBS( "ListDialog.AddItemToList"; "Bob"; 1 )
MBS( "ListDialog.AddItemToList"; "Joe"; 2 )
MBS( "ListDialog.AddItemToList"; "Tim"; 3 )
Use two columns and fill an item to the list:
Set Variable [ $r ; Value: MBS("ListDialog.SetColumnCount"; 2) ]
Set Variable [ $r ; Value: MBS("ListDialog.AddItemToList"; "1st Column" & Char(9) & "2nd Column"; "Tag123") ]
Created 18th August 2014, last changed 6th April 2021
List.XOrColumn - ListDialog.AddItemsToList
Feedback: Report problem or ask question.