Table of Contents

TTMSFNCUtils.SaveFile Method

Shows a save-file dialog or platform file picker.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function SaveFile(var AFileName: string; const AFilter: string = ''; const ACallBack: TTMSFNCUtilsFileCallBackEvent = nil): Boolean;

Parameters

Name Description
AFileName Receives the selected output file name.
AFilter Platform-specific file filter string.
ACallBack Optional callback invoked with the selected file and success state.

Returns

True when a file name is selected.