Delphi Custom Gestures


The ability of the Touch enabled device to play tactile effects depends on special hardware inside the device, in combination with software which directs what kinds of gestures the user can do to interact with the application.

Every day we see more and more touch enabled devices out there, from Tablets and Mobile Phones to Notebooks and All-In-One desktop computers.

Touch-enabled devices vary not only in form, but also in the range and quality of sensations they deliver and for general use, a wider range of available sensations gives user interface designers the ability to create more realistic experiences for their users.

Designing software for such devices can be quite challenging if you try to start from scratch… but Delphi XE3 makes it a easy task by providing us with the Gestures technology.

In Delphi XE3 most components that derive from TControl publish the Touch property and have gesturing options.

Touch Property

In my previous post and video we show how easy it was to choose from several “Standart Gestures” available in Delphi XE3, just selecting the gestures you want your application to track.

Touch Property

But today we will be talking about “Custom Gestures“, as the name suggests we will be able to design and use our own gestures, intead of using the standart gestures available in the Object Inspector.

To do so, add a GestureManager to your Form and link the Touch-GestureManager property of a Panel (for example) to your just added GestureManager1. After you assign a GestureManager to your component, you can click on the Gestures property to create, draw and save your own custom gestures as .DGF files.

Check the complete video available on YouTube (Brazilian Portuguese spoken):

3 Responses

  1. Pingback: Standart Gestures on C++ Builder XE3 | Victory software and beyond...

  2. Ricardo Araujo says:

    Achei seu Vídeo muito interessante, o conteúdo também, continue assim ajudando as pessoas que precisar aprender coisas novas..

Leave a Reply