FileDialog.SetWindowTitle
-------------------------

Sets the title of the dialog.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [FileDialog](component_FileDialog.md) | [2.7](newinversion27.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "FileDialog.SetWindowTitle"; Text ) 

**MBS**( **"FileDialog.SetWindowTitle";** /\* Sets the title of the dialog. \*/  
**$Text**) /\* The new window title.e.g. "Select database" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | The new window title. | "Select database" |

### Result

Returns OK.

### Description

Sets the title of the dialog.  
Keep empty or don't assign a title to use the default text.  
Not used for Select Folder Dialog on Windows, but in all other dialogs.  
### Examples

Sets window title:

 Set Variable \[$r ; Value:MBS ("FileDialog.SetWindowTitle"; "Please select picture")\]  
### See also

- [Dialog.GetWindowTitle](DialogGetWindowTitle.md)
- [Dialog.SetWindowTitle](DialogSetWindowTitle.md)
- [FileDialog.GetWindowTitle](FileDialogGetWindowTitle.md)
- [FileDialog.OpenFileDialog](FileDialogOpenFileDialog.md)
- [FileDialog.SaveFileDialog](FileDialogSaveFileDialog.md)
- [FileDialog.SelectFolderDialog](FileDialogSelectFolderDialog.md)
- [FileDialog.SelectItemDialog](FileDialogSelectItemDialog.md)
- [ListDialog.GetWindowTitle](ListDialogGetWindowTitle.md)
- [ListDialog.SetWindowTitle](ListDialogSetWindowTitle.md)

### Example Databases

- [DynaPDF/Extract and analyze images](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Extract%20and%20analyze%20images.shtml#3ScriptAnchor_)
- [Files/FileDialog](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Files/FileDialog.shtml#1ScriptAnchor_)
- [Files/FileDialogWatcher](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Files/FileDialogWatcher.shtml#8ScriptAnchor_)
- [SmartCard/Belgian EID Reader](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/Belgian%20EID%20Reader.shtml#13ScriptAnchor_)
- [Win Only/Send Email via Email Application](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Send%20Email%20via%20Email%20Application.shtml#3ScriptAnchor_)
- [XL/XL Import and Export](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/XL/XL%20Import%20and%20Export.shtml#3ScriptAnchor_)

### Blog Entries

- [Tips and tricks with MBS](https://www.mbsplugins.de/archive/2023-08-10/Tips_and_tricks_with_MBS/monkeybreadsoftware_blog_filemaker)
- [GraphicsMagick in FileMaker, part 3](https://www.mbsplugins.de/archive/2022-12-03/GraphicsMagick_in_FileMaker_pa/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2024, Seite 37](https://filemaker-magazin.de/neuigkeit/4277-Appetithappen-FMM_202406)

This function is free to use.

Created 18th August 2014 , last changed 18th October 2016

  
[FileDialog.SetUseSheet](FileDialogSetUseSheet.md) - [FileDialogWatcher.GetLastPath](FileDialogWatcherGetLastPath.md)

[HTML Version](FileDialogSetWindowTitle.shtml)