Icon TTouchEvent

Unit: WebCtrls

TTouchEvent = procedure (Sender: TObject; ShiftKey, CtrlKey,
      AltKey: Boolean; X,Y: Integer) of object

Available In: Client and Server Applications

The TTouchEvent type is a common event type that is used by controls to provide notification that a touch event is occurring via a touch interface.

The Sender parameter represents the class instance that triggered the event. The ShiftKey, CtrlKey, AltKey parameters represent whether the Shift, Control, and/or Alt keys were also pressed. The X and Y parameters indicate the horizontal and vertical position of the touch, in pixels, relative to the bounds of the control that triggered the event.