Component grouping in datamodules? lazarus / 10-Designer ---------------------------------------------------------------------- TurboRascal · 2014-02-17 16:50 Ok, it's not form designer issue, but I guess it's close enough.  Thing is, I'd like to see some sort of grouping component (like group boxes) on datamodules, even though it's meant for non-visual components only. I'm working on an app which has a number of SQL Queries (and their DataSources); they are all on one DM and it starts feeling a little cluttered. The app isn't large enough to justify the hassle of dividing those components to several DM's, but seeing just a bunch of those components feels quite messy. I did group them a little by keeping correlated ones together in two or three "lumps", but I still have to examine them to remember which group means what, esp. after I don't work on it for awhile. Having something labeled like a groupbox would help me a lot to distinguish a few small groups of components apart. What do you think, folks? Does anyone else feel it might be useful? Would it be hard to implement? ---------------------------------------------------------------------- x2nie · 2014-04-29 19:31 Well, when your idea just arrived in reality, Lazarus becoming incomparable to Delphi for such this feature. Do you look for such "TGroupBox" which is dropped in TDataModule (like picture attached) ? Hey, wake up ! Let's bring that dream to real. Well, I mean this is it. It's not too hard to implement it using Lazarus, guys. We can start the work from C:\Lazarus\Examples\DesignNonLCL If you luck, it only take a few hours or few days to achieve, IMO. Let's rock! x2nie ---------------------------------------------------------------------- x2nie · 2014-06-12 09:07 Hi all, I am glad that finally we can achieve it. We can now decorate "TDataModule" with such groupbox (panel), further, we can set the panel's color. I named it TCarpet & TDataRoom. The idea is to move all of iconic component which are positioned within the carpet location, when you move the carpet. Currently, the Carpets itself is running well, but this "content's moving" features is failed due some bug in Lazarus- non-Control designer, but I will not give up. I will try again day-by- day, and will give update here if I have more nice progress. The packages contains: * TDataRoom * TCarpet * TCarpetLabel * TCarpetImage (optional, in separate package). It requires Lazarus 1.3 (trunk) or higher. Otherwise, you can install it within LiteZarus I completely mimic the TDataRoom from TDataModule, but TDataRoom is not inherited from TDataModule, you might manually edit the class name if you want to convert your TDataModule to be TDataRoom. attached is the screenshot of TCarpet, TCarpetLabel, TCarpetImage, and TDataRoom in action!  Repository/Download: https://github.com/x2nie/LiteZarus/tree/litezarus /examples/carpet_datamodule Thanks you ! ---------------------------------------------------------------------- TurboRascal · 2015-01-16 20:49 Great to see someone has done some work on this! I hope this won't be forgotten...