Hi Bobby

>         begin
>          ACheck[i] := TCheckBox.Create(P);      // can give an abstract or
I made the experience that EVERYTHING I will have control of should be created 
with an owner of Nil thus 
 ACheck[i] := TCheckBox.Create(Nil);      // can give an abstract or
If you have a look into the Delphi help files, you'll notice, that the owner is 
responsible of freeing the
owned components. If you free an owned component yourself, the owner is likely 
to run into the dark when calling
the free method of an object that doesn't exist anymore (because you freed it).

Give it a try
Bob




-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to