Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodCode SnippetDelphiDemoFiremonkeyIOS

Multitouch Demo Source Code For Delphi XE7 Firemonkey On Android And IOS

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE7 Firemonkey Multitouch Demo Example Source Code | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDeveloper Andrey Yefimov created a demo of the new multitouch capabilities in Delphi XE7 Firemonkey. You should be able to use the multitouch functionality on Android and IOS devices. The demo uses the TForm.OnFormTouch event to show a TLabel containing the X and Y position of each touch on the device screen. I placed all 10 fingers on the surface of a Nexus 7 tablet and it handled all ten touches. It displays the number of touches being handled in a TLabel. It does this by looping though a touch object and accessing a location property for each touch within the touch object. With the code so far you should be able to create multitouch drawing functionality really easily. Source code is available over on the original blog post and I have also included my sample project below. The original blog is in Russian so use Google Chrome to translate. If you are using Delphi XE5 or Delphi XE6 you can handle multitouch with this custom code. The latest version of AppMethod should also support multitouch when available.

Head over and check out the full blog post plus source code for accessing multitouch events in Delphi XE7 Firemonkey.

Download Delphi XE7 Firemonkey Multitouch Demo Source Code

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

Unleashing Creativity With Song Writer AI: A Deep Dive


How To Build Stable Diffusion Text To Image Prompts


FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

Sign up for our Newsletter and
stay informed

Leave a Reply