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

AndroidAppmethodCode SnippetDelphiDemoFiremonkeyIOSOSXWindows

Multithreaded Progress Dialog In Delphi XE5 Firemonkey For Android And IOS

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

Multi Threaded Delphi Firemonkey Progress Dialog | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSIf you’re building almost any kind of Delphi Firemonkey app for IOS or Android with XE5 this is a must see example as it will really help your app have a polished feel. Andrea Magni has a blog post which explains how to create a multithreaded progress dialog. Any time you do a lengthy operation in a mobile app you will want to show a progress dialog like this so that the user has some feed back that the app is not frozen. The example operation he uses is a HTTP GET request which is perfect because a lot of apps will probably be making HTTP requests at some point. The example creates an anonymous thread, handles any exceptions, and uses Synchronize to synchronize the progress updates with the main thread. One thing you need to be careful of is that you don’t create and free the form over and over. You should re-use the same progress form repeatedly because Delphi XE5 has a problem if you create too many forms (at least on IOS) that will cause your app to close. The blog post is in Italian but the link will auto translate using Google Translate.

Head over and read the full post on how to create a multithreaded progress dialog for mobile.

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

Related posts
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

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

Sign up for our Newsletter and
stay informed

Leave a Reply