|
I dynamically add some controls (TButton, TEdit, TLabel...) when the strategy program is running.
And save them in Tlist. Please teach me how to release these controls.
I want to use the RTTI method to obtain the ClassName of the object according to the object pointed to by list[i].
Get the Destroy procedure of the object according to ClassName, and then call the procedure.
Is there a problem with this? Please expert guidance. |
|