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.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

ListDialog.ShowDialog

Shows the dialog.

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

MBS( "ListDialog.ShowDialog" )

Parameters

none

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

Example Databases


ListDialog.SetWindowTitle   -   ListDialog.Sort

Feedback: Report problem or ask question.




Links
MBS Xojo blog