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

AndroidAppmethodCode SnippetDelphiFiremonkeyIOSOSXWindows

Use Frames To Simplify LiveBindings In Delphi XE5 & XE6 Firemonkey On Android And IOS

Delphi XE5 XE6 Firemonkey Organize LiveBindings FramesCary Jensen has a blog post up where he outlines a tip to organize your Android and IOS apps by using TFrames in Delphi XE5 & XE6 Firemonkey. The idea is that if you have a large mobile app with lots of controls and LiveBindings it will become very hard to use the LiveBindings editor because of all of the bindings. One other tidbit of information that goes along with this is that on Android when you rotate the device only the current active form auto rotates to the new orientation.  Cary advocates that instead of using forms to build a large app that instead you use a TTabControl and inside each tab you place a TFrame object. This will separate your code for each tab and you can edit the LiveBindings of the controls within the TFrame. The LiveBindings editor for the main form of the app will still end up being overloaded but each individual frame will have a much simplier LiveBindings editor. Even if you don’t use LiveBindings frames are a great way to easily segment your code. This trick will work on all platforms including Windows, IOS, OSX, and Android in addition to working in Delphi XE5, AppMethod, and Delphi XE6.

Head over and read the full blog post from Cary Jensen about simplifying the LiveBindings in your mobile apps with frames.


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

Related posts

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


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


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


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

Sign up for our Newsletter and
stay informed

Leave a Reply