Notice

The forum is in read only mode.

  • Page:
  • 1

TOPIC: How can I catch gesture events of TWebBrowser

How can I catch gesture events of TWebBrowser 7 years 2 months ago #2213

Hi,
I have added a gestureManager to TWebBrowser but it doesn't work at all.
In fact, I need use only InteractiveGesture, but the corresponding event never triggers.
void __fastcall TForm1::WebBrowser1Gesture(TObject *Sender, const TGestureEventInfo &EventInfo,
          bool &Handled)
{
  String s;
	if (GestureToIdent(EventInfo.GestureID, s)) {
		ShowMessage(s);
	}
	else {
		ShowMessage("Could not translate gesture identifier");
	}

}

Thanks in advance.
  • Page:
  • 1
Moderators: April Anne