FMX.Media.TCustomMediaPlayerAction.HandlesTarget
Delphi
function HandlesTarget(Target: TObject): Boolean; override;
C++
virtual bool __fastcall HandlesTarget(System::TObject* Target);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TCustomMediaPlayerAction |
Description
Whether Target
is appropriate for the action (True
) or not (False
).
HandlesTarget ignores the specified Target
parameter, actually. Regardless of the specified target, HandlesTarget returns True
provided that:
- The platform where your application is running supports this action.
- Your action does not have any event handler assigned to its OnExecute event.
- You have an instance of TMediaPlayer in the MediaPlayer property of your action.