# TSoundType Type

## Declaration

TSoundType = procedure (Sender: TObject; const SRC: string; Loop: integer;

Terminate: boolean) of Object;

## Description

The TSoundType type is the type for OnSoundRequest events. These events occur when the <BGSOUND> tag is encountered at load time and at any other time when it is appropriate to terminate the sound.

In the above, Sender is the THtmlViewer or TFrameViewer loading the document, SRC and Loop are the values of these atttributes, and Terminate is a boolean indicating if the sound should be terminated.