RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.Create Constructor

Creates a media player object.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TMediaPlayer(TComponent * AOwner);

Call Create to instantiate a media player at runtime. For media players created at design time, Create is called automatically. 

Create allocates memory for a media player and calls the inherited Create. Then it loads the bitmaps for the media player's buttons and initializes its properties, setting AutoEnable, AutoRewind, Colored, Enabled, and Visible to true, AutoOpen to false, and DeviceType to dtAutoSelect. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!