Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
FileDialog.SetPrompt
Sets the prompt of the default button.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FileDialog | 2.7 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "FileDialog.SetPrompt"; text ) More
Parameters
Parameter | Description | Example |
---|---|---|
text | String to set as the prompt of the panel's default button. | "Use" |
Result
Returns OK.
Description
Sets the prompt of the default button.This prompt appears on all dialogs in your application. By default, the text in the default button is "Open" for an Open panel and "Save" for a Save panel.
It is intended that short words or phrases, such as "Open", "Save", "Set", or "Choose", be used on the button. The button is not resized to accommodate long prompts.
Added Windows support in plugin version 8.3 for Windows Vista or newer.
Examples
Sets name:
MBS( "FileDialog.SetPrompt"; "Export" )
See also
- FileDialog.GetPrompt
- FileDialog.OpenFileDialog
- FileDialog.SaveFileDialog
- FileDialog.SelectFolderDialog
- FileDialog.SelectItemDialog
- ListDialog.GetPrompt
- ListDialog.SetPrompt
Example Databases
- CURL/Amazon S3/Amazon S3 Upload File
- CURL/Email/IMAP Email
- Files/FileDialog
- Mac and iOS/Machine Learning/Core ML Photos
- SmartCard/Belgian EID Reader
- Win Only/WindowsML
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 24th May 2018
FileDialog.SetNameFieldStringValue - FileDialog.SetResolvesAliases