Property VLAVIPlayer.TVLAVIPlayer.Enabled
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: TVLAVIPlayer
Contents |
Syntax
Delphi:
property Enabled : Boolean read FEnabled write SetEnabled default True;
C++ Builder:
__property bool Enabled = { read=FEnabled, write=SetEnabled, default=True };
Summary
Enables/Disables the player.
Description
If the component is pumping the video by itself ( the common
case ), Enable set to True will start the playing, and False
will stop it.
If the component is connected to external data pump, the Enable = False will start producing empty frames on each pump request.
Delphi example:
VLAVIPlayer1.Enabled := True;
C++ Builder example:
VLAVIPlayer1->Enabled = true;
Visual C++(MFC) example:
VLAVIPlayer1.Enabled = true;
Visual C++/CLI example:
aviPlayer1->Enabled = true;
C# example:
aviPlayer1.Enabled = true;
VB example:
AVIPlayer1.Enabled = True