RAD Studio 10.4.1 is now available! Learn more. Looking for discounts? Visit our Special Offers page!

Add Interactive Gestures To Your Delphi/C++ Builder FireMonkey Mobile Applications

The ImageZoom sample demonstrates how to zoom an image on an iOS or Android device. The sample provides a picture and the user can zoom the picture by pinching it.

You can find Delphi and C++ code samples in GitHub Repositories. Search by name into the sample repositories according to your RAD Studio version.

To add native gestures to your mobile applications, you should configure the TGestureManager component which enables you to manage all the registered gestures in an application.


The sample shows a picture and the sample uses the field GestureID of the TGestureEventInfo to identify a zoom gesture. When TGestureEventInfo identifies a zoom gesture, the sample uses the TImage.PositionTImage.Width and TImage.Height properties to zoom the picture.

Check out the full article in the DocWiki about the ImageZoom sample.

Check out the full source code for the ImageZoom project for Delphi and C++ Builder over on GitHub

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Learn More About Upgrading

About author

Software Developer | B.Tech-CSE at AUT | Delphi/C++ Builder Enthusiast | Microsoft Learn Student Ambassador | Microsoft Azure Certified | Udacity Alumni
Related posts

Powerful Easy To Use Build Automation Tool For Developers Made In Delphi

RAD StudioTech Partner

Powerful Live Local And Remote Application Logging With CodeSite Express In Delphi

DelphiRAD Studio

Get Started Building Cross-Platform Games In Delphi FireMonkey With Alien Invasion Sample

C++DelphiRAD Studio

Learn How To Use WinRT In Your Native Windows Delphi And C++ Builder Apps

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.