1. Set the control owner to Application, which takes up a larger resource. 2. If it is a data module dynamically creates a component, you also need to add a Forms unit reference. Generally, it is best: For TFORM class, use Application as a parameter, for components on the form, use Self as parameters. For temporary components, use nil as parameters, and finally use free release objects.