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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.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") ]
This function checks for a license.
Created 18th August 2014, last changed 6th April 2021