TPcxOpenDialog
TPcxOpenDialog opens a dialog box to select and open an audio file.
Use the Execute method to open this box. When it is connected to a Stream, the Play button allows to play the selected audio file.
If the user clicks on the Open button, the box closes, the selected file name is stocked in the FileName property and the Execute method returns True.
TPcxOpenDialog.Captions
Captions specifies the captions displayed on the Play, Stop, Infos buttons of the dialog box.
property Captions : TPcxDialogCaptions;
Description
Captions specifies the captions displayed on the Play, Stop, Infos buttons and the sticker Duration of the dialog box.
See also
ShowVuMeter

TPcxOpenDialog.Execute
Example
Execute activates the dialog box.
function Execute : Boolean;
Description
Call the Execute to activate the dialog box.
If a valid file is selected, the Execute returns True and the FileName property contents the selected file name.
See also
OutputStream

TPcxOpenDialog.OutputStream
The OutputStream property specifies the stream used to listen to the file selected on the dialog box.
property OutputStream : TPcxOutputStream;
Description
This property specifies or returns the stream tied to TPcxOpenDialog, if the stream is destroyed, the OutputStream property returns nil.
See also
Captions

TPcxOpenDialog.ShowVuMeter
The ShowVuMeter property allows or not Vumeters displays on the dialog box.
property ShowVuMeter : Boolean;
Description
ShowVuMeter allows or not Vumeters displays in the lower right corner of the dialog box..
ShowVuMeter = True : the vumeters are displayed.
ShowVuMeter = False : the vumeters are not displayed.
See also
Captions
