Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
FileDialog.SetNameFieldStringValue
Sets the filename in the name field to the specified value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FileDialog | 2.7 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "FileDialog.SetNameFieldStringValue"; text ) More
Parameters
Parameter | Description | Example |
---|---|---|
text | The initial text for the name field. |
Result
Returns OK.
Description
Sets the filename in the name field to the specified value.This value is only used for save dialogs.
Added Windows support in plugin version 8.3 for Windows Vista or newer.
Examples
Sets name:
MBS( "FileDialog.SetNameFieldStringValue"; "test.txt" )
See also
- FileDialog.GetNameFieldStringValue
- FileDialog.OpenFileDialog
- FileDialog.SaveFileDialog
- FileDialog.SelectFolderDialog
- FileDialog.SelectItemDialog
- XL.Book.SaveToFile
Example Databases
Blog Entries
FileMaker Magazin
This function is free to use.
Created 18th August 2014, last changed 24th May 2018