Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++DelphiRAD Studio

Speed Up FireMonkey Layout Construction And Painting Performance With These Tips

In this CodeRage session, you can learn how to speed up FireMonkey layout construction and improve the painting performance of FireMonkey applications.

With Delphi Visual Designer you can design any user interface by easily dragging and dropping the components. If you need some customizations you can alter the properties of the components or just change the style. But complex layouts tend to contain more controls than necessary.

TFmxObject – Base Class for FireMonkey Components

  • Heavyweight class
  • Several lazily initialized lists on top of TComponent ones
  • Complex layouts need a substantial amount of time to construct, align and paint
  • Performance penalties can be significant on mobile platforms

So, how we can optimize our layouts then? Here are the possible layout optimization options that you can implement:

  • Simplify layout designs
  • Optimize images for screen size and density
  • Avoid shadows, effects, or any unnecessary effects
  • Implement Lazy loading
  • Optimize layout hierarchies without changing the visual appearance of the layout

Be sure to watch the session to learn and grasp real-world experience in optimizing FireMonkey applications!

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

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

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Software Developer | CS(CyberSec) Undergrad at APU Malaysia | Delphi/C++ Builder Enthusiast | Microsoft Learn Student Ambassador | Microsoft Azure Certified

Leave a Reply

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

IN THE ARTICLES