I create into my VCL a listView.
constructor TMyVCL.Create( AOwner: TComponent);
FList.Parent:=GetParentForm(Self); //I wish to show it outside my vcl ( as a drop list of a TComboBox ).
FList.Free; // here get an error;
If I create my VCL and not call ShowMe I can close my app very well ( destroy my vcl ). But if I can ShowMe before exit then I get an error message. Look like when I change the parent I can't free my FList.
I try with:
FList.Parent :=Self; // reset the parent to Self as I declared on constructor;
But not succefully :( What to do ?