FMX.Types.TTouchAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTouchAction = (None, Up, Down, Move, Cancel);

C++

enum class DECLSPEC_DENUM TTouchAction : unsigned int { None, Up, Down, Move, Cancel };

Properties

Type Visibility Source Unit Parent
enum public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Represents the action performed by a TTouch gesture.


TTouchAction can have the following values:

TTouchAction   Description

Down

Occurs when a finger or other touch device touches the screen.

Up

Occurs when a finger or other touch device is removed or lifted from the screen.

Move

Occurs when a finger or other touch device moves but is not performing a Down or an Up action.

None

A default value; should never occur in reality.

Cancel

Cancels the gesture.


See Also