Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

FileDialog.SetNameFieldStringValue

Sets the filename in the name field to the specified value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FileDialog 2.7 Yes Yes No No No

MBS( "FileDialog.SetNameFieldStringValue"; text )

Parameters

Parameter Description Example value
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

Example Databases


FileDialog.SetNameFieldLabel   -   FileDialog.SetPrompt

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins