MonkeybreadSoftware Posted August 19 Posted August 19 For MBS FileMaker Plugin 15.3 we added iOS support to the ListDialog functions in addition to MacOS and Windows. You can just use it anywhere in a script or calculation to have the user pick something from a list. For example you can fill the list with a text field holding all options. or you use SQL to either go over values in a table to collect them (with distinct option) or you use FileMaker_ValueLists in SQL to query a value list content. Here a small example script: Set Variable [ $r ; Value: MBS("ListDialog.Reset") ] Set Variable [ $r ; Value: MBS("ListDialog.SetPrompt"; "Please select your country:") ] Set Variable [ $r ; Value: MBS("ListDialog.SetShowsFilter"; 1) ] Set Variable [ $r ; Value: MBS("ListDialog.SetAllowMultipleSelection"; 0) ] Set Variable [ $r ; Value: MBS("ListDialog.AddItemsToList"; PlaceHolder::Countries) ] Set Variable [ $r ; Value: MBS("ListDialog.ShowDialog") ] Set Field [ PlaceHolder::Result ; $r & ": " & MBS("ListDialog.GetSelectedTitle") ] There are a couple of differences. iOS list is one column. Second column content would go into a second line below. There are no column headers, but groups exist. There are no checkboxes for iOS For iOS we show the dialog full screen, so no positioning. There is no window title on iOS. iOS has no window widgets, so no close box. You need to have at least a button to close the dialog. Please try the functions and let us know if they work well for your iOS application made using the FileMaker iOS SDK.
Recommended Posts