Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

FileDialog.SetTreatsFilePackagesAsDirectories

Sets the panel's behavior for displaying file packages (for example, MyApp.app) to the user.

Component Version macOS Windows Linux Server iOS SDK
FileDialog 2.7 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "FileDialog.SetTreatsFilePackagesAsDirectories"; value )   More

Parameters

Parameter Description Example
value If 1, the panel will display file packages as directories; if 0, it will not. 1

Result

Returns OK.

Description

Sets the panel's behavior for displaying file packages (for example, MyApp.app) to the user.
Default is off (0).
This setting has no effect on Windows.

Examples

Look inside of bundles:

Set Variable [$r; Value:MBS("FileDialog.SetTreatsFilePackagesAsDirectories"; 1)]

See also

Example Databases

This function is free to use.

Created 18th August 2014, last changed 18th October 2016


FileDialog.SetShowHidden - FileDialog.SetUseSheet