Delphi - there is a way to hide / organize components in DESIGN mode

In Delphi 2010 ... I am creating a fairly complex application. There are all kinds of non-visual components based on VCL, such as TTable, TQuery, etc. I know that I can put Data-oriented components in a datamodule, so during development they are not displayed in my main form. I am looking for a way to "hide" other non-visual components. I know that I can hide them with GExperts, but as soon as you click on the form, they will reappear. I seem to remember that there was a component component "Component repository". You threw it in your form, and then dumped all the other components into it ... Unable to find it.

Does anyone know how to do this?

thanks

+4
source share
1 answer

Just put your other non-visual components in the DataModule. All non-visual controls can be placed there; these are only visual components (TControl / TWinControl) that cannot be (for obvious reasons - the data module does not have a visual aspect at runtime).

Please note that this is useful even in applications that do not have access to any type of database. You can still create a TDataModule to hold all of your non-visual components like image lists, open / open files, etc.

+8
source

All Articles