Dial_SetListInput (function reference)

By October 27, 2026October 28th, 2026Online Help, Troi Dialog Plug-in
Troi Dialog Plug-in for FileMaker Pro

Dial_SetListInput

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

SyntaxFunction badge

Dial_SetListInput ( switches ; preselectedText )

Parameters

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

Result

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

Originated in

Troi Dialog Plug-in 3.5

Compatibility

FileMaker Pro 19 to FileMaker Pro 26 (2026)

Considerations

See Dial_ListDialog for more information on the actual list dialog.

Example

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

ListDialog.fmp12

Related functionFunction badge

Dial_ListDialog

Related topics

Troi Dialog Plug-in online help (overview)


Online Help Page for Troi Dialog Plug-in for 19 to 26 –> Dial_SetListInput (dialp4314) 2026-1028 14:28:59

Share
troi.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping us to understand which sections of the website you find most interesting and useful.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.