Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

ListDialog.AddItemToList

Adds a line to the list.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ListDialog 4.2 Yes Yes No No No

MBS( "ListDialog.AddItemToList"; title { ; tag; Header } )

Parameters

Parameter Description Example value
title The title to show. "Hello World"
tag Optional
The tag, e.g. the record ID.
"1234"
Header Optional
Pass 1 to make this an header item, which is shown differently.
1

Result

Returns OK.

Description

Adds a line to the list.

Examples

Clears list and adds three lines:

MBS( "ListDialog.ClearList" )
MBS( "ListDialog.AddItemToList"; "Bob"; 1 )
MBS( "ListDialog.AddItemToList"; "Joe"; 2 )
MBS( "ListDialog.AddItemToList"; "Tim"; 3 )

See also

Example Databases

Created 18th August 2014, last changed 21st March 2015


List.XOr   -   ListDialog.AddItemsToList

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins