FMX.Media.TMedia.Control

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Control: TMediaPlayerControl read FControl write SetControl;

C++

__property TMediaPlayerControl* Control = {read=FControl, write=SetControl};

Properties

Type Visibility Source Unit Parent
property public
FMX.Media.pas
FMX.Media.hpp
FMX.Media TMedia

Description

Specifies the media player control that plays the current media file.

Set Control to specify the media player control that plays the current media file.

Tip: For easy access to media files and easy playing, use the TMediaPlayer or TMediaPlayerControl visual components. Giving the name of the file to be played will automatically create the TMedia objects and set the Control to the current used media player control.

See Also