Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
QLPreviewPanel.Show
Shows the panel.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
QuickLook | 4.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameters
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 |
Result
Returns OK or error.
Description
Shows the panel.Added iOS support for version 8.4.
See also Icon.GetIconWithQuickLook for just getting the preview as image.
Examples
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) ]
See also
- Icon.GetIcon
- Icon.GetIconWithQuickLook
- QLPreviewPanel.AddContainer
- QLPreviewPanel.AddImage
- QLPreviewPanel.AddPDF
- QLPreviewPanel.Clear
- QLPreviewPanel.Hide
- QLPreviewPanel.Move
- QLPreviewPanel.SetDismissTrigger
- QLPreviewPanel.SetEditingAllowed
Release notes
- Version 14.2
- Fixed QLPreviewPanel.Show to make sure that a change in focus doesn't clear the content.
- Version 13.4
- Added Flags parameter for QLPreviewPanel.Show function.
- Version 11.1
- Fixed problem in QLPreviewPanel.Show function.
- Version 9.3
- Fixed QLPreviewPanel.Show to work if used with cards.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 14.2pr1
- MBS FileMaker Plugin, version 13.4pr3
- MBS FileMaker Plugin, version 11.1pr5
- MBS FileMaker Plugin, version 9.3pr1
- QLPreviewPanel functions for iOS
This function checks for a license.
Created 18th August 2014, last changed 15th August 2023