FMX.Types.TTouchEvent
Delphi
TTouchEvent = procedure(Sender: TObject; const Touches: TTouches; const Action: TTouchAction) of object;
C++
typedef void __fastcall (__closure *TTouchEvent)(System::TObject* Sender, const TTouches Touches, const TTouchAction Action);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
TTouchEvent is the function type used for touch-related events (OnTouch).
TTouchEvent has the following parameters:
Description | |
---|---|
|
The control that generated the event. |
|
An array of TTouch, generating the event information. |
|
The TTouchAction representing the specific action performed. |