Table of Contents

TTMSFNCUtils.OpenFile Method

Opens the specified file using the default system application associated with its file type.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class procedure OpenFile(AFile: string; AControlReference: TControl = nil);

Parameters

Name Description
AFile Path of the file to open.
AControlReference Optional control used to determine the parent window context; may be nil.