FMX.MediaLibrary.Actions.TTakePhotoFromLibraryAction.ExecuteTarget
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 | TTakePhotoFromLibraryAction |
Description
Takes an image from the local library of the 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 TTakePhotoFromLibraryAction is attached).
Target
is the currently active object when the action fires.
ExecuteTarget checks that Target
is a TControl, and if so, calls the TakeImageFromLibrary method, taking the selected image.