Vcl.MPlayer.TMediaPlayer.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TMediaPlayer();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Vcl.MPlayer.pas Vcl.MPlayer.hpp |
Vcl.MPlayer | TMediaPlayer |
Description
Destroys an instance of the media player.
Do not call Destroy directly in an application. Call Free instead. Free checks that the TMediaPlayer reference is not nil before it calls Destroy.
Destroy first verifies that no device is open, then destroys the bitmaps used for the media player's buttons and calls the inherited Destroy.