Skip to main content

Dial_SetListInput (function reference)

By November 1, 2020June 23rd, 2021Online Help, Troi Dialog Plug-in
Troi Dialog Plug-in for FileMaker Pro


This function allows you to preselect an item from the list in the Dial_ListDialog function.

SyntaxFunction badge

Dial_SetListInput ( switches ; preselectedText )


switches not used, reserved for future use. Leave blank or put "-unused"
preselectedText the text of the list dialog to be selected

Returned Result

Data type returned

Error code


An error code. Currently the plug-in always returns 0.

Originated in

Troi Dialog Plug-in 3.5


FileMaker Pro 16 to 19


See Dial_ListDialog for more information on the actual list dialog.


Set Field [ result ; Dial_SetListInput ( "-Unused" ; "Lemon" ) ]
Set Field [ result ; Dial_ListDialog ( "-NoteIcon" ; "Please select a fruit:" ; 
			"OK" ; "Cancel" ; "Help" ; "Stop" ; "Apple|Pear|Lemon" ) ]

This will show a list dialog with the Lemon selected when the dialog starts.

Used in example file


Related functionFunction badge


Related topics

Troi Dialog Plug-in online help (overview)

Online Help Page for Troi Dialog Plug-in for 16 to 19 –> Dial_SetListInput (dialp4314) 2021-0623 15:56:42