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).

close

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

Related posts
AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

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

DelphiIDEShowcaseWindows

Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

DelphiFiremonkeyIDEIOSOSXWindows

DelphiCon 2020 FireMonkey Sessions Available Starting November 19

AndroidC++BuilderDelphiDemoFiremonkeyWindows

Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

2 Comments

Leave a Reply to John Muller Cancel reply