Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

QLPreviewPanel.AddFile

Adds file to the file list for preview.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
QuickLook 4.3 Yes No No No Yes

MBS( "QLPreviewPanel.AddFile"; Path )

Parameters

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

Result

Returns Ok or error.

Description

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.




Links
MBS FileMaker Plugins