RAD Studio 2010 - Touch & Gestures Part 1

Posted by on in Blogs

Finally! RAD Studio 2010 is just around the corner which means we can talk about all that new awesome "stuff" we've been working on. Chris Bensen and I have spent a lot of our time working on building a gesturing framework and integrating touch into the VCL. Here's a sneak peek of what's coming:


Most controls now have a Touch property, which hosts everything related to gesturing and touch.


The platform independant gesturing framework uses a mouse, pen or (single) touch and contains over 30 standard gestures (such as Left, Right, Up and Down). You can also record your own custom gestures using the Custom Gesture Designer.


There are 5 interactive multi-touch gestures (such as zoom, rotate and pan). Just like standard and custom gestures, interactive gestures are handled in the new OnGesture event.


The VCL includes dedicated gesturing components to integrate gesture recording and management into Delphi applications. These are the same components we've used in the designers.


The VCL also includes the super-cool touch keyboard control, allowing Delphi applications to be truly touch enabled and free from physical keyboards.


To be continued...



  • Guest
    delphi Monday, 10 August 2009

    Wooooow ....
    Very Very Cooool

  • Guest
    Michael Monday, 10 August 2009

    Thanks a lot, great ....


  • Guest
    Dan Tuesday, 11 August 2009

    Great to see you guys making steady improvements to... well, everything!

  • Guest
    Troy Wednesday, 12 August 2009

    Great Job!! I was using the Stringgrid to make a keyboard. But now I will change it you the new onscreen keyboard. Thank you, Delphi 2010 is comming togather!!


    PS I'm working on Voice commands. Using voice to press buttons. Will Delphi add voice comands to the IDE?

  • Guest
    Joe White Wednesday, 12 August 2009

    I don't understand how gestures would be used. Would it trigger anytime you move the mouse upward? Or only when the left mouse button is pressed? Which control gets the gesture event -- the one you started the gesture over, or the one you ended it over?

  • Guest
    David Howes Wednesday, 12 August 2009

    I thought that the new touch functionality wrapped some new API in Win7? But now I hear that it works in win2K/XP, so is it separate from the Win7 API, or is the win7 functionality retro-fittable to prior platforms? Or has some API been present in NT platforms for a while the M$ is only utilizing now for Win7.

  • Guest
    Seppy Bloom Thursday, 13 August 2009

    Joe: Gestures are triggered by pressing the left mouse button and moveing the mouse. The event is fired on the control where the gesture was initiated.

  • Guest
    Seppy Bloom Thursday, 13 August 2009

    David: Interactive gestures (multi-touch) are specific to Windows 7. Mouse/pen/single touch gestures work on any platform with a mouse, or device that emulates a mouse.

  • Guest
    Mike Swindell Thursday, 13 August 2009

    David: encapsulates the API support into the VCL so that it's easy to control and add behavior. This gives you control over where and how you want touch to work in your app - ie form level, containers, or down to a single control if you like. Also, provides a VCL recognizer, so if the OS doesn't have one (ie 2000, XP, Vista) then the VCL will do the recognition, but if the OS has a recognizer (Win7) it will use that. So you can build apps targeted for touch hardware and run them on various versions of windows, not just Win7 - even if those OSes don't inherently support touch or gesturing. In fact you can use the std 30+ gestures that Win7 and Tablet defines on any of those OSes, it'll just be VCL that does the recognition instead of Win8 in those cases.

  • Guest
    Mike Swindell Thursday, 13 August 2009

    typo - i meant Win7... not Win8 of course.

  • Guest
    David Howes Thursday, 13 August 2009

    "In fact you can use the std 30+ gestures that Win7 and Tablet defines on any of those OSes, it’ll just be VCL that does the recognition instead of Win8 in those cases."

    O.k. I,m impressed :-)

  • Guest
    Delphi 2010 Preview! | 4DotNet Developers Blog Monday, 17 August 2009

    [...] Touch Preview Video [...]

  • Guest
    Личная записная Tuesday, 25 August 2009

    [...] видео, а потом и сам пишет на эту тему. Им вторит Seepy Bloom, почле чего тоже дописывает. Сюда же можно отнести и [...]

  • Guest
    xucd Tuesday, 18 May 2010

    hello, the gesture is powerful.However ,when i move mouse from the TcxGrid's surface, then it doesn't work!Hope you can give me a solution, thanks a lot!

  • Guest
    exploretalent Tuesday, 25 May 2010

    That's really great. Thanks for the post

  • Guest
    Paracet2000 Wednesday, 17 November 2010

    It greate but with Touchkeyboard can i use it only one separated form then use it which all of other froms in my application or use it which all of system applications.

  • Guest
    DanielX Monday, 2 September 2013

    HI! Thanks for the article. Im usin gestures but when I close a form with a gesture I receive "Unable to enable or disable IRealTimeStylus" error. Some idea?


  • Guest
    MikeP Sunday, 17 November 2013

    >Unable to enable or disable IRealTimeStylus

    I have the same problem. no known solution.

  • Please login first in order for you to submit comments
  • Page :
  • 1

Check out more tips and tricks in this development video: