Hi all,

We have a Delphi XE app that we are adding gesturing support to. We have
hooked up the Touch.GestureManager property for the controls that we want to
support gesturing and set the InteractiveGestures property to be [igZoom,
igPan]. The controls have an OnGesture event set where we check the
GestureID and respond accordingly. Sounds simple, right? Only, we can't get
the interactive gestures to fire. We can get StandardGestures such as
sgLeft, sgRight, etc to fire, but not the interactive ones.

The code looks something like this,

Control.OnGesture := Gesture;
Control.Touch.GestureManager := GestureManager1;
Control.Touch.StandardGestures := sgLeft, sgRight, sgUp, sgDown];
Control.Touch.
InteractiveGestures := [igZoom, igPan];
Control.Touch.InteractiveGestureOptions := [igoPanSingleFingerHorizontal,
igoPanSingleFingerVertical, igoPanInertia];

The OnGesture event fires for the standard gestures, but not the interactive
ones. My question is, what are we missing in order to make this work? We've
confirmed that the hardware we are running this on does support multi-touch
gestures and that it is all enabled in the hardware.

I'm hoping there's something simple that we've overlooked.

Regards,
Darren
_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to