FMX.Types.TTouchEvent

From RAD Studio API Documentation
Jump to: navigation, search

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

Sender

The control that generated the event.

Touches

An array of TTouch, generating the event information.

Action

The TTouchAction representing the specific action performed.

See Also