As promised at my CodeRage 4 session I will be blogging about Gestures and the Touch feature of Delphi 2010. So here is a quick set of steps to use interactive gestures. It will require a multi-touch system such as I described here (the mouse will not work here) and some context by watching my CodeRage 4 session from here.
1. File | New VCL Application
2. Drop a TPanel on your form (there is a known bug using interactive gestures on the form)
3. Select Panel1 and expand the Touch property
4. Check igoPanSinglerFingerHorizontal, and check igPan. I also like to turn off toPressandHold
5. Go to events and add the following code to the OnGesture event:
if EventInfo.GestureID = igiPan then
Caption := IntToStr(EventInfo.Location.X);
Now run the application and move your finger left and right on the panel.
Note: Interactive Gestures don't require a TGestureManage. Only Gestures require the Gesture Manager.
Update: Fixed the code and added links for touch hardware and my CodeRage 4 session.