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

AndroidAppmethodCode SnippetDelphiFiremonkeyIOSOSXWindows

Fast Animated TabControl Transitions For Delphi XE5 Firemonkey On Android And IOS

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

Delphi XE5 Firemonkey Fast TabControl | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSAnimated transitions between tab items with the TTabControl from Delphi XE5 Firemonkey can be slow if you have a lot of controls on your tab items. There is an extension of the TTabControl component which can help with this. Basically the idea is that it creates a screenshot/cache/buffer of the contents of your tab item and hides the tab item. The bitmap is then used with the transition animation instead of all of the live controls. Once the transition is complete the bitmap goes away and all of the controls become live again. It even has support for TWebBrowser (which is tricky because of the way it is handled on Android and IOS). The original code was written by Paul Spencer Thornton but it has been updated for this use and placed on Google Code for free.

Head over and check out the extended tabcontrol unit (the view raw file link is on the right and then you can save it).

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

2 Comments

Leave a Reply