Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3    Statistic    FMM    Blog  

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

Example Databases

Blog Entries

Created 18th August 2014, last changed 24th May 2018


FileDialog.SetNameFieldLabel - FileDialog.SetPrompt

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat