TSoundList.Add Method

Overloads

Add(string)

Add the "filename" sound to the available sounds list and return it's index

Add(Integer, string)

Add the "filename" sound to the available sounds list at the SoundID position and return True if it's ok

Add(string)

Add the "filename" sound to the available sounds list and return it's index

Delphi
function Add(Filename: string): integer

Parameters

Filename
string

Returns

Integer

Add(Integer, string)

Add the "filename" sound to the available sounds list at the SoundID position and return True if it's ok

Delphi
function Add(SoundID: integer; Filename: string): boolean

Parameters

SoundID
Integer
Filename
string

Returns

Boolean