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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
ListDialog.ShowDialog
Shows the dialog.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| ListDialog | 4.2 | Yes | Yes | No | No | No |
Parameters
| 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 |
Result
Returns OK or Cancel.
Description
Shows the dialog.Examples
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")]
See also
- List.HasValue
- ListDialog.AddItemToList
- ListDialog.ClearList
- ListDialog.GetSelectedTag
- ListDialog.GetSelectedTitle
- ListDialog.SetAllowMultipleSelection
- ListDialog.SetFilter
- ListDialog.SetPrompt
- ListDialog.SetSelectedTitle
- SyntaxColoring.AddContextMenuCommand
Example Databases
Blog Entries
Created 18th August 2014, last changed 17th January 2020
ListDialog.SetWindowTitle - ListDialog.Sort
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins