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 XE5 Firemonkey Fast TabControlAnimated 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
DelphiDemoFiremonkeyIOSLinuxOSXWindows

Bring OpenAI Agents, Vision, Audio, And Realtime AI To Firemonkey

DelphiIDEWindows

Add AI Pair Programming, Refactoring, And Multi-LLM Workflows To RAD Studio

DelphiDemoFiremonkeyLibraryWindows

Bring OpenAI, Local LLMs, And AI Assistants To FMX Apps

DelphiFiremonkeyLibrary

DelphiGemini Brings Native Google Gemini AI Integration To Delphi

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]

2 Comments

Leave a Reply