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.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   11.6    Statistic    FMM    Blog  


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

Created 6th July 2021, last changed 6th July 2021

QLPreviewPanel.SetEditingAllowed - QLPreviewPanel.Show

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins

Start Chat