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: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  


Adds file to the file list for preview.

Component Version macOS Windows Linux Server iOS SDK License
QuickLook 4.3 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes Paid
MBS( "QLPreviewPanel.AddFile"; Path )   More


Parameter Description Example
Path The native file path to the image file. "/Users/test/Images/test.jpg"


Returns Ok or error.


Adds file to the file list for preview.
If you want the user to select a path, please use FileDialog functions.

This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.

See also

Example Databases

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

QLPreviewPanel.AddContainer - QLPreviewPanel.AddImage

Feedback: Report problem or ask question.

Start Chat