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


Shows the panel.

Component Version macOS Windows Linux Server iOS SDK
QuickLook 4.3 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "QLPreviewPanel.Show" { ; Flags } )   More


Parameter Description Example Flags
Flags Available in MBS FileMaker Plugin 13.4 or newer.
Pass various flags.
Add 1 to turn fullscreen.
Add 2 to hide top right buttons.
0 Optional


Returns OK or error.


Shows the panel.
Added iOS support for version 8.4.

See also Icon.GetIconWithQuickLook for just getting the preview as image.


Show previews:

Set Variable [ $r; Value:MBS("QLPreviewPanel.Clear") ]
# Add all items
Go to Record/Request/Page [ First ]
    If [ Length(QuickLook Preview Panel::FilePath) > 0 ]
        Set Variable [ $r; Value:MBS("QLPreviewPanel.AddFile"; QuickLook Preview Panel::FilePath) ]
    End If
    If [ not IsEmpty(QuickLook Preview Panel::ImageContainer) ]
        Set Variable [ $r; Value:MBS("QLPreviewPanel.AddImage"; QuickLook Preview Panel::ImageContainer) ]
    End If
    If [ not IsEmpty(QuickLook Preview Panel::PDFContainer) ]
        Set Variable [ $r; Value:MBS("QLPreviewPanel.AddPDF"; QuickLook Preview Panel::PDFContainer) ]
    End If
    Go to Record/Request/Page [ Next; Exit after last ]
End Loop
# Run it!
Set Variable [ $r; Value:MBS("QLPreviewPanel.Show") ]

Show preview with control buttons hidden:

Set Variable [ $r ; Value: MBS("QLPreviewPanel.Show"; 2) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 15th August 2023

QLPreviewPanel.SetSharingAllowed - QTExport.CloseMovie