Skip to main content

Dial_SetDialogTitle (function reference)

By March 1, 2025March 20th, 2025Online Help, Troi Dialog Plug-in
Troi Dialog Plug-in > Functions reference > Dial_SetDialogTitle
Troi Dialog Plug-in for FileMaker Pro

Dial_SetDialogTitle

Sets the default dialog title for the title bar of dialogs.

SyntaxFunction badge

Dial_SetDialogTitle ( switches ; dialogTitle )

Parameters

dialogTitle the title of the dialog that you want to use for all subsequent dialogs

Returned Result

Data type returned

Error code

Result

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

Originated in

Troi Dialog Plug-in 2.1

Compatibility

FileMaker Pro 17 to FileMaker Pro 21 (2024)

Considerations

The title will stay the same for all following dialogs until you change it again or restart FileMaker. If you add this function to your startup script, all dialogs with a title bar will show the title you’ve given.

Example

Dial_SetDialogTitle ( "-Unused" ; "Troi's Dialog Demo Solution" )

This will set the title of subsequent dialogs to “Troi’s Dialog Demo Solution”.

Example 2

We assume that in your FileMaker file the following fields are defined:

gDialogTitle		Global, text
gResult     		Global, text

Add the following script step:

Set Field [ gResult ; Dial_SetDialogTitle ( "-Unused" ; gDialogTitle ) ]

This script will use the contents of the global text field to set the dialog title.

Used in example file

Input.fmp12

Related functionsFunction badge

Dial_BigInputDialog
Dial_Dialog
Dial_InputDialog
Dial_ListDialog

Related topics

Troi Dialog Plug-in online help (overview)


Online Help Page for Troi Dialog Plug-in for 17 to 2024 –> Dial_SetDialogTitle (dialp4311) 2025-0320 16:31:59

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.