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


Sets whether sharing is allowed.

Component Version macOS Windows Linux Server iOS SDK
QuickLook 11.3 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "QLPreviewPanel.SetSharingAllowed"; Value )   More


Parameter Description Example
Value Pass 1 to allow or 0 to disallow.


Returns OK or error.


Sets whether sharing is allowed.
By default is this enabled.


Allow sharing:

Set Variable [ $r; Value: MBS( "QLPreviewPanel.SetSharingAllowed"; 1 ) ]

Disallow sharing

Set Variable [ $r; Value: MBS( "QLPreviewPanel.SetSharingAllowed"; 0 ) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 6th July 2021, last changed 24th August 2022

QLPreviewPanel.SetEditingAllowed - QLPreviewPanel.Show