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

AndroidAppmethodCode SnippetComponentDelphiFiremonkeyIOSOSXWindows

Build A Cross Platform Custom Layout List Component For Delphi Firemonkey

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

Delphi XE5 Firemonkey Free ListLayout Component | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSChris Rolliston from Delphi Haven has a blog post from early 2013 where he builds a custom TLayout control that automatically aligns controls into a vertical list. Originally it looks like it was built for XE3 on Windows and OSX but I don’t see any reason why this same code won’t also work great in Delphi XE5, AppMethod, and Delphi XE6 on all platforms (including Android and IOS). The writeup mentions TFlowLayout, TGridLayout, TScaleLayout, and TScrollBox as being contenders for implementing a control list but ultimately they do not meet all his requirements for the vertical control list. Additionally, the blog post is a good tutorial on building custom Firemonkey components and basing them off of existing components like TLayout. Take notice of the ComponentPlatforms line at the top of the component source code and be sure to modify it to include Android and IOS in the list of platforms.

Head over and read the full blog post about building a custom TListLayout component in Delphi Firemonkey.

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

Leave a Reply