# 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).

_FT_HTML5_bannerTitle.htm