Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
FileDialog.SetCanCreateDirectories
Sets whether to allow directory creation.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FileDialog | 15.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "FileDialog.SetCanCreateDirectories"; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
Value | Whether to allow user to create directories. Pass 1 to allow or 0 to disallow. |
1 |
Result
Returns OK or error.
Description
Sets whether to allow directory creation.By default we allow it in save dialogs and disable it in open dialogs.
See also
Release notes
- Version 15.3
- Added FileDialog.SetCanCreateDirectories and FileDialog.GetCanCreateDirectories functions.
Blog Entries
This function is free to use.
Created 7th May 2025, last changed 7th May 2025
FileDialog.SetAllowsOtherFileTypes - FileDialog.SetCanSelectHiddenExtension
