RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.Destroy Destructor

Destroys an instance of the media player.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TMediaPlayer();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!