FMX.MediaLibrary.Actions.TShowShareSheetAction.ExecuteTarget

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ExecuteTarget(Target: TObject); override;

C++

virtual void __fastcall ExecuteTarget(System::TObject* Target);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.MediaLibrary.Actions.pas
FMX.MediaLibrary.Actions.hpp
FMX.MediaLibrary.Actions TShowShareSheetAction


Description

Shares images or text with other native services.

Do not call the ExecuteTarget method. This method is called automatically when the action fires in response to a user action (for example, when clicking on the control to which a TShowShareSheetAction is attached).

Target is the currently active object when the action fires.

ExecuteTarget checks that Target is a TControl, and if so, calls the Share method, sharing images or text.


See Also