FMX.Media.TCustomMediaPlayerAction.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomMediaPlayerAction(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TCustomMediaPlayerAction |
Description
Instantiates and initializes a TCustomMediaPlayerAction object.
Applications do not need to call Create directly. Actions are created automatically when you add them to a TActionList component using New > New Standard Action in the Action List editor at design time.
If you want to create an action at run time, assign a TActionList component to its ActionList property after calling Create.
AOwner
is the component that is responsible for freeing the action. It becomes the value of the Owner property.