If I want to release dynamically created component and it does not work. These remain in the memory. For example: I create on a DPFNavigationControllerPage dynamically a TDPFUIView. Additionally, I create a few other components dynamically which get as parent and as the owner DPFUIView previously created. If I switch to another Page, I release the TDPFUIView. Logically all the other components that were Childs of this view should also release. However, these are still present in memory and after numerous calls to the DPFUIView the app crashes. What is also understandable because the memory is full. How do I release the components correctly?
Sorry for my bad english.
Regards Vitaly
Hi Vitaly
Please attach here a simple project for reproduce it,
Regards
Hello, in the Attachment the sample with my simple Project. Sorry for the late post.
Hi Vital
No problem !
In your Mobile applications instead of .Free or FreeAndNil just call
.DisposeOf
Regards