# OnFileRequest Event

## Applies to

TFrameViewer component

## Declaration

property OnFileRequest: TFileRequestEvent;

## Description

An OnFileRequest event handler allows the program to respond with an HTML document in file form whenever a new document is requested.

See the TFileRequestEvent type for usage information.

See Also

OnBufferRequest Event

OnStreamRequest Event

OnStringsRequest Event

Load Method