Build A Cross Platform Custom Layout List Component For Delphi Firemonkey

Delphi XE5 Firemonkey Free ListLayout ComponentChris 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.

Build A Cross Platform Custom Layout List Component For Delphi Firemonkey by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE6 Firemonkey IDE Fix Patch Speed Up
Screaming Fast Unofficial IDE And Compiler Fix Patch For Delphi XE6

Andreas Hausladen is at it again with an update to his IDE Fix Pack which supports Delphi XE6. If you...