Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Shows the dialog.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ListDialog | 4.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
TopMost | Available in MBS FileMaker Plugin 10.1 or newer. Whether the dialog will get top most flag on Windows. Pass 1 to make it topmost, pass 0 or nothing for normal behavior. |
Optional |
Returns OK, Other, Cancel or error.
Shows a dialog:
Set Variable [$r; Value:MBS("ListDialog.ClearList")]
Set Variable [$r; Value:MBS("ListDialog.SetPrompt"; "Please select an item:")]
Set Variable [$r; Value:MBS("ListDialog.AddItemToList"; "First Item"; "1234")]
Set Variable [$r; Value:MBS("ListDialog.SetAllowMultipleSelection"; 1)]
Set Variable [$r; Value:MBS("ListDialog.SetSelectedTitle"; "1234")]
Set Variable [$r; Value:MBS("ListDialog.ShowDialog")]
Set Field [ListDialog::Result; $r]
Set Field [ListDialog::Selected Tag; MBS("ListDialog.GetSelectedTag")]
Set Field [ListDialog::Selected; MBS("ListDialog.GetSelectedTitle")]
This function is free to use.
Created 18th August 2014, last changed 5th August 2023