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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
QLPreviewPanel.AddContainer
Adds an container to the list of files to preview.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| QuickLook | 8.4 | Yes | No | No | No | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Container | the container to show. | MyTable::MyField | |
| Title | The title for the container. | "My Holiday" | Optional |
Result
Returns OK or error.
Description
Adds an container to the list of files to preview.If you have an existing file, better use QLPreviewPanel.AddFile function.
The container can contain a file supported by QuickLook for previewing.
Either we use file path from FileMaker's external container storage directly or we write a temporary file, which is cleared later when app quits or panel is cleared.
Examples
Show containers:
# Prepare
If [ MBS("QLPreviewPanel.IsVisible") ]
Set Variable [ $r ; Value: MBS("QLPreviewPanel.Hide") ]
End If
Set Variable [ $r ; Value: MBS("QLPreviewPanel.Clear") ]
#
# Add all containers you have
Set Variable [ $r ; Value: MBS("QLPreviewPanel.AddContainer"; PlaceHolder::Container; "Stratocaster") ]
#
# Run it!
Set Variable [ $r ; Value: MBS("QLPreviewPanel.Show") ]
See also
- QLPreviewPanel.AddFile
- QLPreviewPanel.Clear
- QLPreviewPanel.Hide
- QLPreviewPanel.IsVisible
- QLPreviewPanel.Show
Blog Entries
Release notes
- Version 8.4
Created 14th August 2018, last changed 15th August 2018
Proj.Transform - QLPreviewPanel.AddFile
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins