# ViewFile

This event is generated in response to a user double-clicking on the contents of a displayed container file or using the `UnZip` method. You can then respond to this event to `Open` the file.

## Syntax

    ViewFile(FileName, DeleteFile)

## Parameters

Parameter | Type | Description
--- | --- | ---
`FileName` | String | The path and file name of the file that the user double-clicked within the container file.
`DeleteFile` | Boolean | If this is `TRUE`, delete the file when you are finished with it (it is a temporary file).

© Copyright 2016-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm