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 |
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.
Show previews:
Set Variable [ $r; Value:MBS("QLPreviewPanel.Clear") ]
# Add all items
Go to Record/Request/Page [ First ]
Loop
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) ]
This function checks for a license.
Created 18th August 2014, last changed 15th August 2023