FMX.MediaLibrary.Actions.TTakePhotoFromCameraAction.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 TTakePhotoFromCameraAction


Description

Takes an image from the camera device.

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 TTakePhotoFromCameraAction is attached).

Target is the currently active object when the action fires.

ExecuteTarget checks that Target is a TControl, and if so, calls the TakePhoto method, taking a photo from the selected camera.


See Also